http-signature-normalization/actix/Cargo.toml

52 lines
1.6 KiB
TOML
Raw Normal View History

2019-09-11 22:05:58 +00:00
[package]
name = "http-signature-normalization-actix"
description = "An HTTP Signatures library that leaves the signing to you"
version = "0.7.0"
2019-09-11 22:05:58 +00:00
authors = ["asonix <asonix@asonix.dog>"]
license = "AGPL-3.0"
2019-09-21 16:26:11 +00:00
readme = "README.md"
2019-09-21 16:34:50 +00:00
repository = "https://git.asonix.dog/Aardwolf/http-signature-normalization"
keywords = ["http", "signatures", "digest", "actix"]
2021-10-21 21:26:26 +00:00
edition = "2021"
2019-09-11 22:05:58 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2019-09-11 23:49:18 +00:00
[features]
default = ["server", "sha-2", "sha-3"]
client = ["awc"]
2020-03-20 02:36:10 +00:00
digest = ["base64"]
server = ["actix-web"]
2019-09-13 01:12:35 +00:00
sha-2 = ["digest", "sha2"]
sha-3 = ["digest", "sha3"]
[[example]]
name = "server"
required-features = ["server", "sha-2"]
2019-09-13 01:12:35 +00:00
[[example]]
name = "client"
required-features = ["client", "sha-2"]
2019-09-11 22:05:58 +00:00
[dependencies]
2022-03-08 17:08:41 +00:00
actix-http = { version = "3.0.2", default-features = false }
2022-02-04 01:33:10 +00:00
actix-rt = "2.6.0"
2022-02-26 17:47:49 +00:00
actix-web = { version = "4.0.0", default-features = false, optional = true }
2022-03-08 17:08:41 +00:00
awc = { version = "3.0.0", default-features = false, optional = true }
2021-02-10 21:45:51 +00:00
base64 = { version = "0.13", optional = true }
2021-09-18 00:34:16 +00:00
futures-util = { version = "0.3", default-features = false }
http-signature-normalization = { version = "0.7.0", path = ".." }
2021-12-13 18:35:10 +00:00
sha2 = { version = "0.10", optional = true }
sha3 = { version = "0.10", optional = true }
thiserror = "1.0"
2021-09-18 00:34:16 +00:00
tokio = { version = "1", default-features = false, features = ["sync"] }
tracing = "0.1"
2021-10-25 01:43:12 +00:00
tracing-error = "0.2"
2021-09-18 00:34:16 +00:00
tracing-futures = "0.2"
2019-09-11 23:06:36 +00:00
[dev-dependencies]
2022-02-11 17:25:07 +00:00
actix-rt = "2.6.0"
2022-11-22 16:24:55 +00:00
tracing-actix-web = { version = "0.6.0" }
2021-10-25 01:43:12 +00:00
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
2021-09-23 22:11:55 +00:00
[package.metadata.docs.rs]
all-features = true