Rust SDK
Endless Rust SDK
Installing Rust SDK
Endless provides an official Rust SDK in the Endless GitHub repository. To use the Rust SDK, add the following dependency and patches on the git repo directly in your Cargo.toml
, like this:
[dependencies]
endless-sdk = { git = "https://github.com/endless-labs/endless-rust-sdk"}
[patch.crates-io]
merlin = { git = "https://github.com/endless-labs/merlin" }
x25519-dalek = { git = "https://github.com/endless-labs/x25519-dalek", branch = "zeroize_v1" }
You must also create a .cargo/config.toml
file with this content:
[build]
rustflags = ["--cfg", "tokio_unstable"]
Using Rust SDK
See the Developer Tutorials for code examples showing how to use the Rust SDK.
Last updated