http-signature-normalization/http-signature-normalization-reqwest/Cargo.toml

40 lines
1.2 KiB
TOML
Raw 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"
2021-02-03 22:51:12 +00:00
version = "0.2.0"
2020-01-18 00:35:30 +00:00
authors = ["asonix <asonix@asonix.dog>"]
2020-09-30 00:08:34 +00:00
license-file = "LICENSE"
readme = "README.md"
repository = "https://git.asonix.dog/Aardwolf/http-signature-normalization"
keywords = ["http", "signatures", "digest", "reqwest"]
2020-01-18 00:35:30 +00:00
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["sha-2", "sha-3"]
digest = ["base64", "tokio"]
sha-2 = ["digest", "sha2"]
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 }
bytes = "1"
futures = "0.3.1"
2020-01-18 00:35:30 +00:00
chrono = "0.4.10"
http = "0.2.0"
2020-09-30 00:10:31 +00:00
http-signature-normalization = { version = "0.5.1", path = ".." }
2021-02-03 22:51:12 +00:00
reqwest = "0.11"
sha2 = { version = "0.9", optional = true }
sha3 = { version = "0.9", optional = true }
thiserror = "1.0"
2021-02-03 22:51:12 +00:00
tokio = { version = "1", default-features = false, features = ["rt"], optional = true }
[dev-dependencies]
pretty_env_logger = "0.4"
2021-02-03 22:51:12 +00:00
tokio = { version = "1", default-features = false, features = ["rt-multi-thread", "macros"] }
time = "0.2"