[package] name = "tiny-encrypt" version = "1.8.1" 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.16" 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