-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
65 lines (60 loc) · 1.94 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
[package]
name = "tiny-encrypt"
version = "1.8.3"
edition = "2021"
license = "MIT"
description = "A simple and tiny file encrypt tool"
repository = "https://git.hatter.ink/hatter/tiny-encrypt-rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["decrypt", "macos", "smartcard"]
full-features = ["decrypt", "macos", "smartcard", "secure-enclave"]
decrypt = ["smartcard"]
smartcard = ["openpgp-card", "openpgp-card-pcsc", "yubikey"]
macos = ["security-framework"]
secure-enclave = ["macos", "swift-rs"]
[dependencies]
aes-gcm-stream = "0.2"
base64 = "0.22"
chacha20-poly1305-stream = "0.1"
chrono = "0.4"
clap = { version = "4.4", features = ["derive"] }
flate2 = "1.0"
fs-set-times = "0.20"
hex = "0.4"
indicatif = "0.17"
openpgp-card = { version = "0.3", optional = true }
openpgp-card-pcsc = { version = "0.3", optional = true }
p256 = { version = "0.13", features = ["pem", "ecdh", "pkcs8"] }
p384 = { version = "0.13", features = ["pem", "ecdh", "pkcs8"] }
rand = "0.8"
# reqwest = { version = "0.11", features = ["blocking", "rustls", "rustls-tls"] }
rpassword = "7.3"
rsa = { version = "0.9", features = ["pem"] }
rust-crypto-hatter-fork = "0.2"
rust_util = "0.6"
security-framework = { version = "3.0", features = ["OSX_10_15"], optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
simpledateformat = "0.1"
tabled = "0.17"
x25519-dalek = { version = "2.0", features = ["static_secrets", "getrandom"] }
x509-parser = "0.16"
yubikey = { version = "0.8", features = ["untested"], optional = true }
zeroize = "1.7"
swift-rs = { version = "1.0.7", optional = true }
spki = "0.7"
pqcrypto-kyber = "0.8"
pqcrypto-traits = "0.3"
pinentry = "0.6"
secrecy = "0.10"
dialoguer = "0.11"
ctrlc = "3.4"
[build-dependencies]
swift-rs = { version = "1.0.7", features = ["build"], optional = true }
[profile.release]
codegen-units = 1
opt-level = 'z'
lto = true
panic = 'abort'
strip = true