From 6e4ae07ac6d78f10c8279038dae3204ed1928cd2 Mon Sep 17 00:00:00 2001 From: mfahampshire Date: Fri, 5 Dec 2025 20:37:23 +0000 Subject: [PATCH] more cargo versioning --- Cargo.toml | 1 + common/topology/Cargo.toml | 3 ++- sdk/rust/nym-sdk/publishing.md | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a6a7ab0562..a7f62b782d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -381,6 +381,7 @@ prometheus = { version = "0.14.0" } # sdk related deps so we can pull in workspace versions of these in other crates' cargo files, and not have to define the version everywhere # # these versions should be kept in line with the workspace version defined above +nym-api-requests = { version = "1.20.1", path = "nym-api/nym-api-requests" } nym-bandwidth-controller = { version = "1.20.1", path = "common/bandwidth-controller" } nym-bin-common = { version = "1.20.1", path = "common/bin-common" } nym-client-core = { version = "1.20.1", path = "common/client-core" } diff --git a/common/topology/Cargo.toml b/common/topology/Cargo.toml index 28f53993be..200609e7d8 100644 --- a/common/topology/Cargo.toml +++ b/common/topology/Cargo.toml @@ -7,6 +7,7 @@ license = { workspace = true } repository = { workspace = true } homepage = { workspace = true } documentation = { workspace = true } +description = "Nym's topology crate" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -37,7 +38,7 @@ nym-sphinx-types = { path = "../nymsphinx/types", features = [ # I'm not sure how to feel about pulling in this dependency here... -nym-api-requests = { path = "../../nym-api/nym-api-requests" } +nym-api-requests = { workspace = true } # 'wasm-serde-types' feature diff --git a/sdk/rust/nym-sdk/publishing.md b/sdk/rust/nym-sdk/publishing.md index c550c32234..1be538d239 100644 --- a/sdk/rust/nym-sdk/publishing.md +++ b/sdk/rust/nym-sdk/publishing.md @@ -21,3 +21,5 @@ To publish the `nym-sdk` crate: # If there are no errors, run with execute flag - this will attempt to publish the nym-sdk crate and its dependencies to crates.io ./publish-sdk.sh --execute 1.20.0 ``` + +**Note** that the script will update the dependency versions in the root `Cargo.toml` file, but double check anyway.