{{ ossHeader }}
The Momento Rust SDK package is available on crates.io
: momento.
You will need to install additional dependencies to make full use of our SDK:
cargo add momento
cargo add tokio --features full
cargo add futures
Note: you will only need to install futures
if you use Momento Topics.
Here is a quickstart you can use in your own project:
{% include "./example/rust/src/bin/readme.rs" %}
Note that the above code requires an environment variable named MOMENTO_API_KEY which must be set to a valid Momento authentication token.
Documentation is available on the Momento Docs website.
Ready to dive right in? Just check out the example directory for complete, working examples of how to use the SDK.
If you are interested in contributing to the SDK, please see the CONTRIBUTING docs.
{{ ossFooter }}