forked from PassFort/http-signatures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
45 lines (40 loc) · 1.39 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "http-sig"
description = "Implementation of the IETF draft 'Signing HTTP Messages'"
version = "0.4.0"
authors = ["Jack Cargill <[email protected]>", "Diggory Blake"]
edition = "2021"
readme = "README.md"
license = "MIT/Apache-2.0"
documentation = "https://docs.rs/crate/http-sig"
repository = "https://github.com/PassFort/http-signatures"
homepage = "https://github.com/PassFort/http-signatures"
[package.metadata.docs.rs]
all-features = true
[workspace]
members = ["http-sig-validator"]
[dependencies]
# crates for actix-web ServiceRequest as ServerRequestLike
actix-http = { version = "3.0.4", optional = true }
actix-web = { version = "4.0.1", optional = true }
futures-util = { version = "0.3.7", default-features = false, features = ["std"], optional = true }
anyhow = "1.0.28"
base64 = "0.12.0"
chrono = "0.4.11"
hmac = "0.7.1"
http = "0.2.5"
itertools = "0.9.0"
log = "0.4.8"
openssl = { version = "0.10.38", optional = true }
pem = "1.0.2"
reqwest = {version = "0.11", features = ["blocking"], optional = true}
ring = { git = "https://github.com/codebase-labs/ring", branch = "0.16.20-wasm", features = ["std", "size_optimized"], optional = true }
sha2 = "0.8.1"
spki = { version = "0.5.4", features = ["alloc", "pem", "std"] }
subtle = "2.2.2"
thiserror = "1.0.15"
url = "2.2"
regex = "1.5.5"
[features]
default = ["ring", "reqwest" ]
actix = ["actix-http", "actix-web", "futures-util" ]