SBXCloud Rust SDK
This is the Rust SDK for SBXCloud. It is a work in progress and is not yet ready for production use.
Required environment variables:
SBX_HOST: The host of the SBXCloud instance, this will default to https://sbxcloud.com
SBX_TOKEN: The token to use for authentication (Required)
SBX_APP_KEY: The app key to use for authentication (Optional)
SBX_DOMAIN: The domain context from SBXCloud where the data is stored (Required), this must be a positive number
Implemented features:
- Authentication
- QueryBuilder
- load_all (QueryBuilder) that will load all the results from the query
- Fetch related records via fetch
Code examples
The library requires you to use an async runtime, so you will need to use an async runtime to use this library. The examples below use tokio.
use ;
use load_all;
async