From e206846d41ccddda2fe51a5b1c50200225048c3e Mon Sep 17 00:00:00 2001 From: mfahampshire Date: Fri, 5 Dec 2025 15:30:25 +0000 Subject: [PATCH] added more info to publishing.md --- sdk/rust/nym-sdk/publishing.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk/rust/nym-sdk/publishing.md b/sdk/rust/nym-sdk/publishing.md index 46aa594825..c550c32234 100644 --- a/sdk/rust/nym-sdk/publishing.md +++ b/sdk/rust/nym-sdk/publishing.md @@ -1,6 +1,8 @@ # Publishing the SDK ## Rationale -The Rust SDK has a relatively long (60+) workspace dependencies that have to be published alongside it. In order to make this easy to maintain, the versions of these workspace dependencies and the `nym-sdk` crate are kept in sync. This is defined in the `[workspace.package]` section of the root monorepo `Cargo.toml` file. Each of the workspace dependencies have their paths and versions (this has to be individually defined at the moment per-dependency, **this version needs to stay the same as the `workspace.package` version**) defined in the `[workspace.dependencies]` section of the root monorepo `Cargo.toml` file. +The Rust SDK has a relatively long (60+) workspace dependencies that have to be published alongside it. In order to make this easy to maintain, the versions of these workspace dependencies and the `nym-sdk` crate (as well as the version of basically all the crates in the monorepo workspace, excluding binaries, contracts, and tools / monitoring clients) are kept in sync. + +This version is defined in the `[workspace.package]` section of the root monorepo `Cargo.toml` file. Each of the workspace dependencies have their paths and versions (this has to be individually defined at the moment per-dependency, **this version needs to stay the same as the `workspace.package` version**) defined in the `[workspace.dependencies]` section of the root monorepo `Cargo.toml` file. We have attempted to automate this as much as possible, but due to limitations in tools like `cargo-smart-release` and publishing a subset of a workspace, this is the initial version of publication logic.