Superposition SDK
Superposition SDK is a rust client for the Superposition platform, designed to facilitate the integration of Superposition's capabilities into rust applications. Read the complete documentation at Superposition SDK Documentation or docs.rs
Installation
Add the following to your Cargo.toml
:
[]
= "<version>"
Initialization
use Result; // anyhow is optional and used to simplify this example
use ;
/// Create a Superposition SDK client with the given URL
Usage
The SDK provides commands for every API call that Superposition supports. Below is an example of how to use the SDK to list default configs.
use Result; // anyhow is optional and used to simplify this example
use DefaultConfigFull;
/// Fetch all default configs using the Superposition SDK
pub async