4 releases
0.1.3 | Sep 8, 2024 |
---|---|
0.1.2 | Sep 8, 2024 |
0.1.1 | Sep 7, 2024 |
0.1.0 | Sep 7, 2024 |
#1612 in Web programming
Used in mesh
26KB
548 lines
Replicate Rust SDK
This is an unofficial Rust SDK for the Replicate API.
More information about this crate can be found in the crate documentation.
Installation
Add replic
as a dependency to your Cargo.toml
$ cargo add replic
Usage
An example to get collections
use replic::{client::Client, config::Config};
#[tokio::main]
async fn main() {
let config = Config::from_env().unwrap();
let client = Client::new(config).unwrap();
let collections = client.collections().await.unwrap();
println!("{:?}", collections);
}
License
This project is licensed under the MIT license and Apache-2.0 license.
Dependencies
~7–18MB
~234K SLoC