v0.2.0
This commit is contained in:
11
README.md
11
README.md
@@ -5,5 +5,12 @@ Simple Alibaba Cloud OSS Client in Rust
|
||||
|
||||
```rust
|
||||
let oss_client = OSSClient::new("<endpoint>", "<access_key_id>", "<access_key_secret>");
|
||||
oss_cleint.put_file_content("<bucket>", "helloworld.txt", "hello world!")?;
|
||||
```
|
||||
oss_cleint.put_file_content("<bucket>", "helloworld.txt", "hello world!").await?;
|
||||
```
|
||||
|
||||
|
||||
#### Changelog
|
||||
|
||||
* v0.2.0
|
||||
* Use `async/await` by `reqwest v0.10.0`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user