From f1610d2537ddde26173c47a0edaf3f7c5ae6b014 Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Sun, 5 Oct 2025 16:56:45 -0400 Subject: [PATCH] Update rust deps, remove unused ones --- rust/Cargo.toml.jinja | 3 +- rust/rust/Cargo.lock | 3 ++ rust/rust/Cargo.lock.jinja | 89 -------------------------------- rust/rust/Cargo.toml.jinja | 2 - rustjswasm/rust/Cargo.lock | 3 ++ rustjswasm/rust/Cargo.toml.jinja | 3 +- 6 files changed, 8 insertions(+), 95 deletions(-) create mode 100644 rust/rust/Cargo.lock delete mode 100644 rust/rust/Cargo.lock.jinja create mode 100644 rustjswasm/rust/Cargo.lock diff --git a/rust/Cargo.toml.jinja b/rust/Cargo.toml.jinja index 5403f72..e3bf787 100644 --- a/rust/Cargo.toml.jinja +++ b/rust/Cargo.toml.jinja @@ -11,8 +11,7 @@ crate-type = ["cdylib"] [dependencies] {{module}} = { path = "./rust", version = "*" } -pyo3 = { version = "0.22", features = ["abi3-py39", "extension-module", "multiple-pymethods"] } -strum = "0.24.1" +pyo3 = { version = "0.26", features = ["abi3-py39", "extension-module", "multiple-pymethods"] } [profile.release] panic = 'abort' diff --git a/rust/rust/Cargo.lock b/rust/rust/Cargo.lock new file mode 100644 index 0000000..375a0b6 --- /dev/null +++ b/rust/rust/Cargo.lock @@ -0,0 +1,3 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 diff --git a/rust/rust/Cargo.lock.jinja b/rust/rust/Cargo.lock.jinja deleted file mode 100644 index 1c3581a..0000000 --- a/rust/rust/Cargo.lock.jinja +++ /dev/null @@ -1,89 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "itoa" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" - -[[package]] -name = "proc-macro2" -version = "1.0.86" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quote" -version = "1.0.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "{{module}}" -version = "0.1.0" -dependencies = [ - "serde", - "serde_json", -] - -[[package]] -name = "ryu" -version = "1.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" - -[[package]] -name = "serde" -version = "1.0.204" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.204" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.120" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5" -dependencies = [ - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "syn" -version = "2.0.71" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b146dcf730474b4bcd16c311627b31ede9ab149045db4d6088b3becaea046462" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "unicode-ident" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" diff --git a/rust/rust/Cargo.toml.jinja b/rust/rust/Cargo.toml.jinja index 42be352..fc2fb11 100644 --- a/rust/rust/Cargo.toml.jinja +++ b/rust/rust/Cargo.toml.jinja @@ -14,8 +14,6 @@ path = "src/lib.rs" crate-type = ["rlib"] [dependencies] -serde = { version = "1.0", features = ["derive"] } -serde_json = "1" [profile.test.junit] path = "junit.xml" diff --git a/rustjswasm/rust/Cargo.lock b/rustjswasm/rust/Cargo.lock new file mode 100644 index 0000000..375a0b6 --- /dev/null +++ b/rustjswasm/rust/Cargo.lock @@ -0,0 +1,3 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 diff --git a/rustjswasm/rust/Cargo.toml.jinja b/rustjswasm/rust/Cargo.toml.jinja index de6c452..e834b06 100644 --- a/rustjswasm/rust/Cargo.toml.jinja +++ b/rustjswasm/rust/Cargo.toml.jinja @@ -14,5 +14,4 @@ path = "src/lib.rs" crate-type = ["rlib"] [dependencies] -serde = { version = "1.0", features = ["derive"] } -serde_json = "1" +serde = { version = "1.0", features = ["derive"] } \ No newline at end of file