a0057eb223
* add notice re sdks * fix borked notice * fix another borked notice
22 lines
1.3 KiB
Plaintext
22 lines
1.3 KiB
Plaintext
# Installation
|
|
import { Callout } from 'nextra/components';
|
|
|
|
<Callout type="warning">
|
|
There will be a breaking SDK upgrade in the coming months. This upgrade will make the SDK a lot easier to build with.
|
|
|
|
This upgrade will affect the interface of the SDK dramatically, and will be coupled with a protocol change - stay tuned for information on early access to the new protocol testnet.
|
|
|
|
It will also be coupled with the documentation of the SDK on [crates.io](https://crates.io/).
|
|
</Callout>
|
|
|
|
The `nym-sdk` crate is **not yet available via [crates.io](https://crates.io)**. As such, in order to import the crate you must specify the Nym monorepo in your `Cargo.toml` file. Since the `HEAD` of `master` is always the most recent release, we recommend developers use that for their imports, unless they have a reason to pull in a specific historic version of the code.
|
|
|
|
```toml
|
|
# importing HEAD of master branch
|
|
nym-sdk = { git = "https://github.com/nymtech/nym", branch = "master" }
|
|
# importing HEAD of the third release of 2023, codename 'kinder'
|
|
nym-sdk = { git = "https://github.com/nymtech/nym", branch = "release/2023.3-kinder" }
|
|
```
|
|
|
|
Work will occur in the future to break the monorepo down into importable features, in order to reduce the number of dependencies imported by developers.
|