Mercurial > public > mercurial-scm > hg-stable
changeset 52853:dd378072137d
rust: clean up the dependency tree from the pyo3 transition
These dependencies are not needed anymore, so trim them down.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Tue, 07 Jan 2025 17:37:06 +0100 |
parents | b8cd277d26f4 |
children | 28f0f00b5dbd |
files | rust/Cargo.lock rust/hg-cpython/Cargo.toml rust/hg-pyo3/Cargo.toml rust/pyo3-sharedref/Cargo.toml |
diffstat | 4 files changed, 1 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- 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"