http-signature-normalization/actix-extractor/Cargo.toml

31 lines
1 KiB
TOML

[package]
name = "http-signature-normalization-actix-extractor"
description = "An HTTP Signatures library that leaves the signing to you"
version = "0.2.0"
authors = ["asonix <asonix@asonix.dog>"]
license = "AGPL-3.0"
readme = "README.md"
repository = "https://git.asonix.dog/asonix/http-signature-normalization"
documentation = "https://docs.rs/http-signature-normalization-actix-extractor"
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 = ["sha-2"]
sha-2 = ["base64", "sha2", "subtle"]
[dependencies]
base64 = { version = "0.13", optional = true }
actix-web = { version = "4", default-features = false }
actix-web-lab = "0.18.5"
async-trait = "0.1.58"
http-signature-normalization = { version = "0.7", path = "../" }
sha2 = { version = "0.10", optional = true }
subtle = { version = "2.4.1", optional = true }
[dev-dependencies]
actix-web = { version = "4", features = ["macros"] }
openssl = "0.10.43"
thiserror = "1"