4 releases

0.0.1 Mar 20, 2024
0.0.1-alpha3 Oct 21, 2021
0.0.1-alpha1 Oct 20, 2021

#8 in #alibaba

Download history 5/week @ 2024-07-21 23/week @ 2024-07-28 7/week @ 2024-09-22 6/week @ 2024-09-29

110 downloads per month

Apache-2.0

33KB
846 lines

Aliyun OSS Rust SDK

GitHub Actions Workflow Status Codecov Crates.io Version Crates.io Total Downloads GitHub Tag GitHub License

An unofficial Alibaba Cloud OSS SDK for Rust.

Still in work progress!

Example

use yunoss::Client;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let cli = Client::builder()
        .endpoint("your.endpoint.com")
        .access_key("your_access_key")
        .access_secret("your_access_secret")
        .build()?;

    let b = cli
        .bucket("your_bucket")?
        .get_object("your_object.txt")
        .await?;

    println!("bingo: {}", String::from_utf8_lossy(b));

    Ok(())
}

Dependencies

~14–27MB
~507K SLoC