Skip to content

Commit bf7bb1b

Browse files
fanninpmShaharNavehbschoenmaeckers
authored
Move dependencies to workspace for capi crate (#7795)
* Add dependency from `capi` crate to workspace * Declare dependency as workspace = true * Update Cargo.toml Co-authored-by: Bas Schoenmaeckers <7943856+bschoenmaeckers@users.noreply.github.com> --------- Co-authored-by: Shahar Naveh <50263213+ShaharNaveh@users.noreply.github.com> Co-authored-by: Bas Schoenmaeckers <7943856+bschoenmaeckers@users.noreply.github.com>
1 parent 09c27bb commit bf7bb1b

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ rustyline = { workspace = true }
5454

5555
[dev-dependencies]
5656
criterion = { workspace = true }
57-
pyo3 = { version = "0.28.2", features = ["auto-initialize"] }
57+
pyo3 = { workspace = true, features = ["auto-initialize"] }
5858
rustpython-stdlib = { workspace = true }
5959
ruff_python_parser = { workspace = true }
6060

@@ -256,6 +256,7 @@ pkcs8 = "0.10"
256256
proc-macro2 = "1.0.105"
257257
psm = "0.1"
258258
pymath = { version = "0.2.0", features = ["mul_add", "malachite-bigint", "complex"] }
259+
pyo3 = "0.28"
259260
quote = "1.0.45"
260261
radium = "1.1.1"
261262
rand = "0.9"

crates/capi/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ rustpython-vm = { workspace = true, features = ["threading"] }
1616
rustpython-stdlib = {workspace = true, features = ["threading"] }
1717

1818
[dev-dependencies]
19-
pyo3 = { version = "0.28", features = ["auto-initialize", "abi3"] }
19+
pyo3 = { workspace = true, features = ["auto-initialize", "abi3"] }
2020

2121
[lints]
2222
workspace = true
2323

2424
[package.metadata.cargo-shear]
2525
# Not a direct dependency (yet), but we need to enable threading support in the stdlib.
26-
ignored = ["rustpython-stdlib"]
26+
ignored = ["rustpython-stdlib"]

0 commit comments

Comments
 (0)