a70e68c7bd
* Smolmix documentation * Add smolmix docs: landing page, tutorials, and developer page links * Add Exit Gateway services page (NR vs IPR) and link from existing docs * Update auto-generated command and API outputs * Reorg of tutorials and architecture pages * License information + remove TODO from docs.rs visibile comment + reorg readme * Add versions file for doc-wide versioning * Relative -> absolute links * Relative -> absolute links * Update license + add old tutorial code as examples * Streamline smolmix docs * Clippy * Clean up doc comments * Last pass * Add larger file download to list * set new versions * Clippy * Remove blake pin from docs + add version range to root Cargo.toml * Format example logging * Remove crate blocked component * Loose whitespace * Add doc verification script for inline mdx * Formatting * Components regen * Reorg + tighten text * Voicing cohesion pass + remove bloated examples * Voicing cont. * Reduce max download size * Small suggested clarifications * Max/docs voicing consistency (#6769) * Reduce max download size * voicing consistency across docs * New landing order w smolmix * Tweaks * Final tweaks
36 lines
1008 B
Plaintext
36 lines
1008 B
Plaintext
---
|
|
title: "Install the Nym Rust SDK"
|
|
description: "Add nym-sdk to your Rust project from Git or crates.io. Covers version requirements, minimum Rust version, and current feature gate status."
|
|
schemaType: "TechArticle"
|
|
section: "Developers"
|
|
lastUpdated: "2026-04-17"
|
|
---
|
|
|
|
# Installation
|
|
|
|
import { Callout } from 'nextra/components';
|
|
import { RUST_MSRV } from '../../../components/versions'
|
|
|
|
```toml
|
|
[dependencies]
|
|
nym-sdk = "1.21.0"
|
|
```
|
|
|
|
**Minimum Rust version:** {RUST_MSRV}+
|
|
|
|
### From Git
|
|
|
|
You can also import directly from Git if you want unreleased changes:
|
|
|
|
```toml
|
|
# development branch (latest changes, may be unstable)
|
|
nym-sdk = { git = "https://github.com/nymtech/nym", branch = "develop" }
|
|
|
|
# latest stable release
|
|
nym-sdk = { git = "https://github.com/nymtech/nym", branch = "master" }
|
|
```
|
|
|
|
<Callout type="warning">
|
|
**No feature gates yet.** Importing `nym-sdk` pulls in everything (mixnet, tcp_proxy, client_pool, etc.) and their full dependency trees. Cargo feature flags are planned.
|
|
</Callout>
|