Move asn1 to be a workspace dep (#11925)

This makes it easier to change, you only need to touch one thing
This commit is contained in:
Alex Gaynor 2024-11-10 08:34:04 -05:00 committed by GitHub
parent 502a41a3e5
commit 7ddddf1d6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 4 deletions

View file

@ -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

View file

@ -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" }

View file

@ -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"

View file

@ -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"

View file

@ -8,4 +8,4 @@ publish = false
rust-version = "1.65.0"
[dependencies]
asn1 = { version = "0.18.0", default-features = false }
asn1.workspace = true