-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
66 lines (58 loc) · 2.03 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
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "cryptr"
version = "0.5.1"
edition = "2021"
rust-version = "1.72.1"
license = "Apache-2.0"
authors = ["Sebastian Dobe <[email protected]"]
categories = ["command-line-utilities", "cryptography", "data-structures"]
keywords = ["cli", "cryptography", "encryption", "utility", "security"]
description = "simple encrypted (streaming) values"
readme = "README.md"
repository = "https://github.com/sebadob/cryptr"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
cli = ["s3", "streaming", "dep:clap", "dep:colored", "dep:home", "dep:rpassword"]
s3 = ["streaming", "dep:reqwest", "dep:s3-simple", "dep:tokio-util"]
streaming = ["dep:reqwest"]
[dependencies]
async-stream = "0.3.5"
async-trait = "0.1.74"
base64 = "0.22.0"
bincode = "1.3.3"
bytes = "1.5.0"
dotenvy = "0.15.7"
flume = "0.11.0"
futures = "0.3.29"
serde = { version = "1.0.193", features = ["derive"] }
thiserror = "1.0.51"
tokio = { version = "1.35.0", features = ["fs", "io-std", "macros", "rt-multi-thread"] }
tracing = { version = "0.1.40", features = ["attributes"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "tracing"] }
rand = { version = "0.8.5", features = [] }
regex = "1.10.2"
# cli
clap = { version = "4.4.10", optional = true, features = ["derive"] }
colored = { version = "2.0.4", optional = true }
home = { version = "0.5.5", optional = true }
rpassword = { version = "7.3.1", optional = true }
# s3
reqwest = { version = "0.12.3", optional = true, default-features = false, features = [
"json", "rustls-tls", "stream"
] }
s3-simple = { version = "0.4.0", optional = true }
tokio-util = { version = "0.7.10", optional = true, features = ["io"] }
# std
#[target.'cfg(not(feature = "no-std"))'.dependencies]
argon2 = { version = "0.5.2", features = ["std", "zeroize"] }
chacha20poly1305 = { version = "0.10.1", features = ["std", "stream"] }
url = "2.5.0"
# fix minimal versions
# sharded-slab
lazy_static = "1.1.0"
[dev-dependencies]
cryptr = { path = ".", features = ["cli"] }
rstest = "0.21.0"
tokio-test = "0.4.3"