Read this in other languages: 日本語
- Follow the installation guide to install Rust and Cargo.
- To get started with Momento you will need a Momento API key. You can get one from the Momento Console.
This example demonstrates a basic set and get from a cache.
# Run example code
MOMENTO_API_KEY=<YOUR API KEY> cargo run --bin=readme
Example Code: main.rs