The Rust SDK provides ergonomic interface and utilities to interact with the S2 API.
Getting started
-
Ensure you have added tokio and futures as dependencies.
-
Add the
s2-sdkdependency to your project: -
Generate an access token by logging into the web console at s2.dev.
-
Perform an operation.
use ; async
Examples
The examples directory in this repository contains a variety of
example use cases demonstrating how to use the SDK effectively.
You might have to set either one or all of these env vars based on the example you run.
SDK Docs and Reference
Head over to docs.rs for detailed documentation and crate reference.
Feedback
We use Github Issues to track feature requests and issues with the SDK. If you wish to provide feedback, report a bug or request a feature, feel free to open a Github issue.
Contributing
Developers are welcome to submit Pull Requests on the repository. If there is no tracking issue for the bug or feature request corresponding to the PR, we encourage you to open one for discussion before submitting the PR.
Reach out to us
Join our Discord server. We would love to hear from you.
You can also email us at hi@s2.dev.
License
This project is licensed under the MIT License.