Lattice SDK for Rust (REST)
You can now build Lattice REST integrations in Rust. The Lattice SDK for Rust is published to crates.io as
anduril-lattice-sdk, joining the existing Go, Java, Python,
and TypeScript REST SDKs. The Lattice SDK guides now carry REST-based Rust examples alongside every other language, including
publishing entities.
Install the SDK with cargo add anduril-lattice-sdk, then add the
tokio runtime it builds on with
cargo add tokio --features macros,rt-multi-thread. The SDK enables a
rustls TLS backend by default, so HTTPS requests work without any
additional dependencies.
The entire API surface is available through a single prelude, so you import the client and every type you need in one line. The following example publishes a drone asset entity:
To get started, install the SDK for REST and follow the guides.