http-signature-normalization/http-signature-normalization-actix/Cargo.toml
Aode (Lion) fa08da9158 2021
2021-10-21 16:26:26 -05:00

51 lines
1.6 KiB
TOML

[package]
name = "http-signature-normalization-actix"
description = "An HTTP Signatures library that leaves the signing to you"
version = "0.5.0-beta.11"
authors = ["asonix <asonix@asonix.dog>"]
license-file = "LICENSE"
readme = "README.md"
repository = "https://git.asonix.dog/Aardwolf/http-signature-normalization"
keywords = ["http", "signatures", "digest", "actix"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["server", "sha-2", "sha-3"]
client = ["awc"]
digest = ["base64"]
server = ["actix-web"]
sha-2 = ["digest", "sha2"]
sha-3 = ["digest", "sha3"]
[[example]]
name = "server"
required-features = ["server", "sha-2"]
[[example]]
name = "client"
required-features = ["client", "sha-2"]
[dependencies]
actix-http = { version = "3.0.0-beta.11", default-features = false }
actix-rt = "2.3.0"
actix-web = { version = "4.0.0-beta.10", default-features = false, optional = true }
awc = { version = "3.0.0-beta.9", default-features = false, optional = true }
base64 = { version = "0.13", optional = true }
chrono = "0.4.6"
futures-util = { version = "0.3", default-features = false }
http-signature-normalization = { version = "0.5.1", path = ".." }
sha2 = { version = "0.9", optional = true }
sha3 = { version = "0.9", optional = true }
thiserror = "1.0"
tokio = { version = "1", default-features = false, features = ["sync"] }
tracing = "0.1"
tracing-error = "0.1"
tracing-futures = "0.2"
[dev-dependencies]
tracing-actix-web = { version = "0.4.0-beta.15" }
tracing-subscriber = { version = "0.2", features = ["fmt"] }
[package.metadata.docs.rs]
all-features = true