-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
44 lines (37 loc) · 1.15 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
[package]
name = "fernet"
version = "0.2.2"
authors = [
"Alex Gaynor <[email protected]>",
"Ben Bangert <[email protected]>",
]
description = "An implementation of fernet in Rust."
repository = "https://github.com/mozilla-services/fernet-rs/"
homepage = "https://github.com/mozilla-services/fernet-rs/"
license = "MPL-2.0"
readme = "README.md"
edition = "2018"
[badges]
travis-ci = { repository = "mozilla-services/fernet-rs" }
[features]
default = ["openssl"]
fernet_danger_timestamps = []
rustcrypto = ["aes", "cbc", "sha2", "hmac", "subtle"]
[package.metadata.docs.rs]
features = ["fernet_danger_timestamps"]
[dependencies]
base64 = "0.22"
byteorder = "1"
openssl = { version = "0.10", optional = true }
getrandom = "0.2"
zeroize = { version = "1.0", features = ["zeroize_derive"] }
aes = { version = "0.8", optional = true }
cbc = { version = "0.1", optional = true, features = ["alloc"] }
hmac = { version = "0.12", optional = true }
sha2 = { version = "0.10", optional = true }
subtle = { version = "2.4", optional = true }
[dev-dependencies]
time = { version = "0.3", features = ["parsing"] }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"