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>
This commit is contained in:
authored and GitHub committed 2026-05-10 00:31:37 +09:00
1 parent e2c45da424
commit 6316ff73c1
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -54,7 +54,7 @@ rustyline = { workspace = true }
[dev-dependencies]
criterion = { workspace = true }
pyo3 = { version = "0.28.2", features = ["auto-initialize"] }
pyo3 = { workspace = true, features = ["auto-initialize"] }
rustpython-stdlib = { workspace = true }
ruff_python_parser = { workspace = true }
@@ -256,6 +256,7 @@ pkcs8 = "0.10"
proc-macro2 = "1.0.105"
psm = "0.1"
pymath = { version = "0.2.0", features = ["mul_add", "malachite-bigint", "complex"] }
pyo3 = "0.28"
quote = "1.0.45"
radium = "1.1.1"
rand = "0.9"
+2 -2
View File
@@ -16,11 +16,11 @@ rustpython-vm = { workspace = true, features = ["threading"] }
rustpython-stdlib = {workspace = true, features = ["threading"] }
[dev-dependencies]
pyo3 = { version = "0.28", features = ["auto-initialize", "abi3"] }
pyo3 = { workspace = true, features = ["auto-initialize", "abi3"] }
[lints]
workspace = true
[package.metadata.cargo-shear]
# Not a direct dependency (yet), but we need to enable threading support in the stdlib.
ignored = ["rustpython-stdlib"]
ignored = ["rustpython-stdlib"]