7c890ea0c5
* First sweep packages + some minor tweaking * Second sweep * Regenerate lockfile + package.json mods * Regenerate lockfile again * Fix CI * Fix CI again * All building properly * unblock * Tweak examples * Comments + readme + fix rotten unit test * First pass docs * Big pass * Massive pass on new docs * Update integrations.md w mobile * Partial overhaul review * new playground + big pass * new fix lychee err * IPR notice tweak
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.1"
|
|
```
|
|
|
|
**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>
|