http-signature-normalization/reqwest/Cargo.toml

47 lines
1.5 KiB
TOML
Raw Permalink Normal View History

2020-01-18 00:35:30 +00:00
[package]
name = "http-signature-normalization-reqwest"
2020-09-30 00:08:34 +00:00
description = "An HTTP Signatures library that leaves the signing to you"
2024-04-15 01:19:19 +00:00
version = "0.12.0"
2020-01-18 00:35:30 +00:00
authors = ["asonix <asonix@asonix.dog>"]
license = "AGPL-3.0"
2020-09-30 00:08:34 +00:00
readme = "README.md"
repository = "https://git.asonix.dog/Aardwolf/http-signature-normalization"
keywords = ["http", "signatures", "digest", "reqwest"]
2021-10-21 21:26:26 +00:00
edition = "2021"
2020-01-18 00:35:30 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["sha-2", "default-spawner"]
middleware = ["dep:reqwest-middleware"]
default-spawner = ["dep:tokio"]
2023-08-17 16:59:07 +00:00
digest = ["dep:base64"]
2023-08-17 17:03:38 +00:00
ring = ["digest", "dep:ring"]
sha-2 = ["digest", "dep:sha2"]
sha-3 = ["digest", "dep:sha3"]
2020-01-18 00:35:30 +00:00
2020-09-30 00:08:34 +00:00
[[example]]
name = "client"
2023-08-17 17:34:51 +00:00
required-features = ["default-spawner", "ring"]
2020-09-30 00:08:34 +00:00
2020-01-18 00:35:30 +00:00
[dependencies]
async-trait = "0.1.71"
2024-04-15 01:19:19 +00:00
base64 = { version = "0.22", optional = true }
http-signature-normalization = { version = "0.7.0", path = ".." }
httpdate = "1.0.2"
2024-04-15 01:19:19 +00:00
reqwest = { version = "0.12", default-features = false, features = ["json"] }
reqwest-middleware = { version = "0.3.0", optional = true }
2023-11-26 01:52:55 +00:00
ring = { version = "0.17.5", optional = true }
2021-12-13 18:34:17 +00:00
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]
2023-11-26 01:52:55 +00:00
pretty_env_logger = "0.5"
tokio = { version = "1", default-features = false, features = [
"rt-multi-thread",
"macros",
] }