Skip to content

Commit 2eab3f3

Browse files
authored
Use workspace dep for pyo3 (#11951)
1 parent 4ead63a commit 2eab3f3

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ rust-version = "1.65.0"
2020

2121
[workspace.dependencies]
2222
asn1 = { version = "0.18.0", default-features = false }
23+
pyo3 = { version = "0.22.6", features = ["abi3"] }
2324

2425
[profile.release]
2526
overflow-checks = true

src/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ rust-version.workspace = true
99
[dependencies]
1010
once_cell = "1"
1111
cfg-if = "1"
12-
pyo3 = { version = "0.22.6", features = ["abi3"] }
12+
pyo3.workspace = true
1313
asn1.workspace = true
1414
cryptography-cffi = { path = "cryptography-cffi" }
1515
cryptography-keepalive = { path = "cryptography-keepalive" }

src/rust/cryptography-cffi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ publish.workspace = true
77
rust-version.workspace = true
88

99
[dependencies]
10-
pyo3 = { version = "0.22.6", features = ["abi3"] }
10+
pyo3.workspace = true
1111
openssl-sys = "0.9.104"
1212

1313
[build-dependencies]

src/rust/cryptography-keepalive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ publish.workspace = true
77
rust-version.workspace = true
88

99
[dependencies]
10-
pyo3 = { version = "0.22.6", features = ["abi3"] }
10+
pyo3.workspace = true

0 commit comments

Comments
 (0)