aliyun_oss/lib.rs
1//! Alibaba Cloud OSS (Object Storage Service) Rust SDK.
2//!
3//! # Quick Start
4//!
5//! ```rust,no_run
6//! use aliyun_oss::client::OSSClient;
7//! use aliyun_oss::types::region::Region;
8//!
9//! # async fn example() -> aliyun_oss::error::Result<()> {
10//! let client = OSSClient::builder()
11//! .region(Region::CnHangzhou)
12//! .credentials("your-access-key-id", "your-access-key-secret")
13//! .build()?;
14//!
15//! let output = client
16//! .bucket("my-bucket")?
17//! .put_object("hello.txt")?
18//! .body("Hello OSS")
19//! .send()
20//! .await?;
21//! # Ok(())
22//! # }
23//! ```
24//!
25//! # Features
26//!
27//! - V4 (HMAC-SHA256) and V1 (HMAC-SHA1) request signing
28//! - Full Object CRUD with metadata, ACL, tagging, and server-side encryption
29//! - Multipart upload with automatic Content-MD5 computation
30//! - Bucket configuration (lifecycle, CORS, policy, encryption, versioning, etc.)
31//! - Pre-signed URL generation (V1)
32//! - Credentials chain (environment variables, static, custom providers)
33
34pub mod client;
35pub mod config;
36pub mod error;
37pub mod http;
38pub mod operations;
39pub mod signer;
40pub mod types;
41pub mod util;