rust: clean up the dependency tree from the pyo3 transition
These dependencies are not needed anymore, so trim them down.
--- a/rust/Cargo.lock Tue Jan 07 17:36:21 2025 +0100
+++ b/rust/Cargo.lock Tue Jan 07 17:37:06 2025 +0100
@@ -732,16 +732,12 @@
name = "hg-pyo3"
version = "0.1.0"
dependencies = [
- "cpython",
"derive_more",
"env_logger 0.9.3",
"hg-core",
- "hg-cpython",
- "lazy_static",
"log",
"pyo3",
"pyo3-sharedref",
- "python3-sys",
"stable_deref_trait",
"vcsgraph",
]
--- a/rust/hg-cpython/Cargo.toml Tue Jan 07 17:36:21 2025 +0100
+++ b/rust/hg-cpython/Cargo.toml Tue Jan 07 17:37:06 2025 +0100
@@ -6,7 +6,7 @@
[lib]
name='rusthg'
-crate-type = ["cdylib", "rlib"]
+crate-type = ["cdylib"]
[dependencies]
cpython = { version = "0.7.2", features = ["extension-module"] }
--- a/rust/hg-pyo3/Cargo.toml Tue Jan 07 17:36:21 2025 +0100
+++ b/rust/hg-pyo3/Cargo.toml Tue Jan 07 17:37:06 2025 +0100
@@ -14,13 +14,9 @@
[dependencies]
pyo3 = { version = "0.23.1" }
pyo3-sharedref = { path = "../pyo3-sharedref" }
-cpython = { version = "0.7.2", features = ["extension-module"] }
-hg-cpython = { path = "../hg-cpython" }
-python3-sys = { version = "0.7.2" }
hg-core = { path = "../hg-core"}
stable_deref_trait = "1.2.0"
log = "0.4.17"
derive_more = "0.99.17"
env_logger = "0.9.3"
-lazy_static = "*"
vcsgraph = "0.2.0"
--- a/rust/pyo3-sharedref/Cargo.toml Tue Jan 07 17:36:21 2025 +0100
+++ b/rust/pyo3-sharedref/Cargo.toml Tue Jan 07 17:37:06 2025 +0100
@@ -5,7 +5,6 @@
[lib]
name='pyo3_sharedref'
-crate-type = ["rlib"]
[dependencies]
pyo3 = { version = "0.23.1" }