tencent_qcloud_cos_rs/
lib.rs

1/*!
2本包提供腾讯云对象存储(cos)基本接口封装.
3
4基本用法:
5
6```
7 use tencent_qcloud_cos_rs::client::Client;
8 use tencent_qcloud_cos_rs::objects::Objects;
9 use mime;
10
11 #[tokio::main]
12 async fn main() {
13    let client = Client::new("foo", "bar", None, "qcloudtest-1256650966", "ap-guangzhou");
14    /// 上传文件
15    let res = client.put_object("Cargo.toml", "Cargo.toml", mime::TEXT_PLAIN_UTF_8, None).await;
16    /// 删除文件
17    let res = client.delete_object("Cargo.toml").await;
18 }
19```
20*/
21
22pub mod acl;
23pub mod bucket;
24pub mod client;
25pub mod objects;
26pub mod request;
27pub mod service;
28pub mod signer;