mirror of
https://git.asonix.dog/asonix/http-signature-normalization.git
synced 2024-11-22 01:11:00 +00:00
ac25b1d951
Also move -reqwest fully to async trait
43 lines
1.3 KiB
TOML
43 lines
1.3 KiB
TOML
[package]
|
|
name = "http-signature-normalization-reqwest"
|
|
description = "An HTTP Signatures library that leaves the signing to you"
|
|
version = "0.9.0"
|
|
authors = ["asonix <asonix@asonix.dog>"]
|
|
license = "AGPL-3.0"
|
|
readme = "README.md"
|
|
repository = "https://git.asonix.dog/Aardwolf/http-signature-normalization"
|
|
keywords = ["http", "signatures", "digest", "reqwest"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[features]
|
|
default = ["sha-2", "sha-3"]
|
|
middleware = ["reqwest-middleware"]
|
|
digest = ["base64", "tokio"]
|
|
sha-2 = ["digest", "sha2"]
|
|
sha-3 = ["digest", "sha3"]
|
|
|
|
[[example]]
|
|
name = "client"
|
|
required-features = ["sha-2"]
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.71"
|
|
base64 = { version = "0.13", optional = true }
|
|
http-signature-normalization = { version = "0.7.0", path = ".." }
|
|
httpdate = "1.0.2"
|
|
reqwest = { version = "0.11", default-features = false, features = ["json"] }
|
|
reqwest-middleware = { version = "0.2.0", optional = true }
|
|
sha2 = { version = "0.10", optional = true }
|
|
sha3 = { version = "0.10", optional = true }
|
|
thiserror = "1.0"
|
|
tokio = { version = "1", default-features = false, features = [
|
|
"rt",
|
|
], optional = true }
|
|
|
|
[dev-dependencies]
|
|
pretty_env_logger = "0.4"
|
|
tokio = { version = "1", default-features = false, features = [
|
|
"rt-multi-thread",
|
|
"macros",
|
|
] }
|