Skip to content

Commit

Permalink
Bump to version 0.1.0 (#73)
Browse files Browse the repository at this point in the history
* Bump to version 0.1.0

Signed-off-by: Xuanwo <github@xuanwo.io>

* Update README

Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo authored May 31, 2022
1 parent 4219d16 commit 70514b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ documentation = "https://docs.rs/reqsign"
edition = "2021"
license = "Apache-2.0"
name = "reqsign"
version = "0.0.5"
version = "0.1.0"

[package.metadata.docs.rs]
all-features = true
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ async fn main() -> Result<()>{
// Signer will load region and credentials from environment by default.
let signer = Signer::builder().service("s3").build()?;
// Construct request
let url = Url::parse( "https://s3.amazonaws.com/testbucket")?;
let url = Url::parse("https://s3.amazonaws.com/testbucket")?;
let mut req = reqwest::Request::new(http::Method::GET, url);

// Signing request with Signer
signer.sign(&mut req)?;

// Sending already signed request.
let resp = Client::new().execute(req).await?;
println!("resp got status: {}", resp.status());
Expand Down

1 comment on commit 70514b1

@github-actions
Copy link

@github-actions github-actions bot commented on 70514b1 May 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for reqsign ready!

✅ Preview
https://reqsign-ias9jzzi9-xuanwo.vercel.app

Built with commit 70514b1.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.