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"
|
2022-12-08 21:08:18 +00:00
|
|
|
version = "0.8.0"
|
2020-01-18 00:35:30 +00:00
|
|
|
authors = ["asonix <asonix@asonix.dog>"]
|
2022-12-08 21:08:18 +00:00
|
|
|
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
|
2020-03-16 00:29:47 +00:00
|
|
|
[features]
|
2020-09-29 23:57:59 +00:00
|
|
|
default = ["sha-2", "sha-3"]
|
2021-12-05 22:45:37 +00:00
|
|
|
middleware = ["reqwest-middleware"]
|
2020-09-29 23:57:59 +00:00
|
|
|
digest = ["base64", "tokio"]
|
2020-03-16 00:29:47 +00:00
|
|
|
sha-2 = ["digest", "sha2"]
|
2020-09-29 23:57:59 +00:00
|
|
|
sha-3 = ["digest", "sha3"]
|
2020-01-18 00:35:30 +00:00
|
|
|
|
2020-09-30 00:08:34 +00:00
|
|
|
[[example]]
|
|
|
|
name = "client"
|
|
|
|
required-features = ["sha-2"]
|
|
|
|
|
2020-01-18 00:35:30 +00:00
|
|
|
[dependencies]
|
2021-02-03 22:51:12 +00:00
|
|
|
base64 = { version = "0.13", optional = true }
|
2022-12-08 21:08:18 +00:00
|
|
|
http-signature-normalization = { version = "0.7.0", path = ".." }
|
2022-11-23 00:12:41 +00:00
|
|
|
httpdate = "1.0.2"
|
2021-11-22 23:09:55 +00:00
|
|
|
reqwest = { version = "0.11", default-features = false, features = ["json"] }
|
2022-11-22 16:15:14 +00:00
|
|
|
reqwest-middleware = { version = "0.2.0", optional = true }
|
2021-12-13 18:34:17 +00:00
|
|
|
sha2 = { version = "0.10", optional = true }
|
|
|
|
sha3 = { version = "0.10", optional = true }
|
2020-09-29 23:57:59 +00:00
|
|
|
thiserror = "1.0"
|
2022-04-25 16:03:00 +00:00
|
|
|
tokio = { version = "1", default-features = false, features = [
|
|
|
|
"rt",
|
|
|
|
], optional = true }
|
2020-09-29 23:57:59 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
pretty_env_logger = "0.4"
|
2022-04-25 16:03:00 +00:00
|
|
|
tokio = { version = "1", default-features = false, features = [
|
|
|
|
"rt-multi-thread",
|
|
|
|
"macros",
|
|
|
|
] }
|