mirror of
https://git.asonix.dog/asonix/http-signature-normalization.git
synced 2024-11-21 17:00:59 +00:00
Update reqwest client lib
This commit is contained in:
parent
139ff58466
commit
894001efe6
2 changed files with 10 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "http-signature-normalization-reqwest"
|
||||
description = "An HTTP Signatures library that leaves the signing to you"
|
||||
version = "0.1.3"
|
||||
version = "0.2.0"
|
||||
authors = ["asonix <asonix@asonix.dog>"]
|
||||
license-file = "LICENSE"
|
||||
readme = "README.md"
|
||||
|
@ -21,19 +21,19 @@ name = "client"
|
|||
required-features = ["sha-2"]
|
||||
|
||||
[dependencies]
|
||||
base64 = { version = "0.12", optional = true }
|
||||
bytes = "0.5.3"
|
||||
base64 = { version = "0.13", optional = true }
|
||||
bytes = "1"
|
||||
futures = "0.3.1"
|
||||
chrono = "0.4.10"
|
||||
http = "0.2.0"
|
||||
http-signature-normalization = { version = "0.5.1", path = ".." }
|
||||
reqwest = "0.10.8"
|
||||
reqwest = "0.11"
|
||||
sha2 = { version = "0.9", optional = true }
|
||||
sha3 = { version = "0.9", optional = true }
|
||||
thiserror = "1.0"
|
||||
tokio = { version = "0.2", default-features = false, features = ["blocking"], optional = true }
|
||||
tokio = { version = "1", default-features = false, features = ["rt"], optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
pretty_env_logger = "0.4"
|
||||
tokio = { version = "0.2", default-features = false, features = ["rt-threaded", "blocking", "macros"] }
|
||||
tokio = { version = "1", default-features = false, features = ["rt-multi-thread", "macros"] }
|
||||
time = "0.2"
|
||||
|
|
|
@ -13,9 +13,11 @@ This crate provides extensions the RequestBuilder type from reqwest
|
|||
|
||||
#### First, add this crate to your dependencies
|
||||
```toml
|
||||
thiserror = "0.1"
|
||||
http-signature-normalization-reqwest = { version = "0.1.3", default-features = false, features = ["sha-2"] }
|
||||
http-signature-normalization-reqwest = { version = "0.2.0", default-features = false, features = ["sha-2"] }
|
||||
reqwest = "0.11"
|
||||
sha2 = "0.9"
|
||||
thiserror = "0.1"
|
||||
tokio = "1"
|
||||
```
|
||||
|
||||
#### Then, use it in your client
|
||||
|
|
Loading…
Reference in a new issue