| Crates.io | replic |
| lib.rs | replic |
| version | 0.1.3 |
| created_at | 2024-09-07 13:58:05.068763+00 |
| updated_at | 2024-09-08 23:18:08.737433+00 |
| description | Replicate Rust SDK |
| homepage | https://github.com/roushou/mesh |
| repository | https://github.com/roushou/mesh |
| max_upload_size | |
| id | 1367226 |
| size | 25,732 |
This is an unofficial Rust SDK for the Replicate API.
More information about this crate can be found in the crate documentation.
Add replic as a dependency to your Cargo.toml
$ cargo add replic
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);
}
This project is licensed under the MIT license and Apache-2.0 license.