-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
54 lines (49 loc) · 1.36 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
46
47
48
49
50
51
52
53
54
[package]
name = "envelopers"
version = "0.8.2"
edition = "2021"
license-file = "LICENSE"
readme = "README.md"
description = "A very simple envelope encryption library using aes-gcm"
repository = "https://github.com/cipherstash/envelopers"
[dev-dependencies]
aws-smithy-runtime = { version = "1.1.1", features = ["client", "test-util"] }
aws-smithy-types = "1.1.1"
base64 = "0.13.0"
futures = "0.3.21"
hex = "0.4.3"
hex-literal = "0.3.2"
http = "0.2"
itertools = "0.10.3"
tokio = { version = "1.17.0", features = ["macros", "rt-multi-thread"] }
[dependencies]
aes-gcm = "0.10.1"
aes-gcm-siv = "0.11.1"
async-lock = "3.4.0"
async-trait = "0.1.53"
aws-config = { version = "1.1.1", optional = true, features = [
"behavior-version-latest",
] }
aws-sdk-kms = { version = "1.9.0", optional = true, features = [
"behavior-version-latest",
] }
aws-smithy-runtime = "1.1.1"
lru = "0.7.5"
rand = "0.8.5"
rand_chacha = "0.3.1"
serde = { version = "1.0.136", features = ["derive"] }
serde_cbor = "0.11.2"
static_assertions = "1.1.0"
thiserror = "1.0.30"
zeroize = { version = "1.5.7", features = ["zeroize_derive"] }
[features]
default = ["aws-kms", "cache"]
aws-kms = ["dep:aws-sdk-kms", "dep:aws-config"]
cache = []
tokio = ["aws-sdk-kms?/rt-tokio"]
[[example]]
name = "kms"
required-features = ["aws-kms", "cache"]
[[example]]
name = "kms-benchmark"
required-features = ["aws-kms", "cache"]