Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jjeffcaii/aliyun-oss-rust-sdk
An unoffical Alibaba Cloud OSS SDK for Rust.
https://github.com/jjeffcaii/aliyun-oss-rust-sdk
Last synced: about 14 hours ago
JSON representation
An unoffical Alibaba Cloud OSS SDK for Rust.
- Host: GitHub
- URL: https://github.com/jjeffcaii/aliyun-oss-rust-sdk
- Owner: jjeffcaii
- License: apache-2.0
- Created: 2021-10-11T09:24:36.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-20T07:34:43.000Z (8 months ago)
- Last Synced: 2024-08-10T06:56:49.932Z (3 months ago)
- Language: Rust
- Size: 40 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Aliyun OSS Rust SDK
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/jjeffcaii/aliyun-oss-rust-sdk/rust.yml)
[![Codecov](https://img.shields.io/codecov/c/github/jjeffcaii/aliyun-oss-rust-sdk)](https://app.codecov.io/gh/jjeffcaii/aliyun-oss-rust-sdk)
[![Crates.io Version](https://img.shields.io/crates/v/yunoss)](https://crates.io/crates/yunoss)
[![Crates.io Total Downloads](https://img.shields.io/crates/d/yunoss)](https://crates.io/crates/yunoss)
![GitHub Tag](https://img.shields.io/github/v/tag/jjeffcaii/aliyun-oss-rust-sdk)
![GitHub License](https://img.shields.io/github/license/jjeffcaii/aliyun-oss-rust-sdk)An unofficial Alibaba Cloud OSS SDK for Rust.
**Still in work progress!**
## Example
```rust
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(())
}
```