Skip to content

Commit

Permalink
Move asn1 to be a workspace dep (#11925)
Browse files Browse the repository at this point in the history
This makes it easier to change, you only need to touch one thing
  • Loading branch information
alex authored Nov 10, 2024
1 parent 502a41a commit 7ddddf1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ publish = false
# This specifies the MSRV
rust-version = "1.65.0"

[workspace.dependencies]
asn1 = { version = "0.18.0", default-features = false }

[profile.release]
overflow-checks = true
2 changes: 1 addition & 1 deletion src/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rust-version.workspace = true
once_cell = "1"
cfg-if = "1"
pyo3 = { version = "0.22.6", features = ["abi3"] }
asn1 = { version = "0.18.0", default-features = false }
asn1.workspace = true
cryptography-cffi = { path = "cryptography-cffi" }
cryptography-keepalive = { path = "cryptography-keepalive" }
cryptography-key-parsing = { path = "cryptography-key-parsing" }
Expand Down
2 changes: 1 addition & 1 deletion src/rust/cryptography-key-parsing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish.workspace = true
rust-version.workspace = true

[dependencies]
asn1 = { version = "0.18.0", default-features = false }
asn1.workspace = true
cfg-if = "1"
openssl = "0.10.68"
openssl-sys = "0.9.104"
Expand Down
2 changes: 1 addition & 1 deletion src/rust/cryptography-x509-verification/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish.workspace = true
rust-version.workspace = true

[dependencies]
asn1 = { version = "0.18.0", default-features = false }
asn1.workspace = true
cryptography-x509 = { path = "../cryptography-x509" }
cryptography-key-parsing = { path = "../cryptography-key-parsing" }
once_cell = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/rust/cryptography-x509/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ publish = false
rust-version = "1.65.0"

[dependencies]
asn1 = { version = "0.18.0", default-features = false }
asn1.workspace = true

0 comments on commit 7ddddf1

Please sign in to comment.