tuimail/proton-bridge/Cargo.toml
2026-03-02 16:27:46 +01:00

33 lines
No EOL
1.1 KiB
TOML

[package]
name = "proton-bridge"
version = "0.1.0"
edition = "2024"
[dependencies]
tokio = { version = "1", features = ["net", "io-util", "rt-multi-thread", "macros", "signal"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "native-tls"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "1.0"
sha2 = "0.10"
num-bigint = "0.4"
base64 = "0.22"
rand = { version = "0.8.5", features = ["getrandom"] }
pwhash = "0.3" # bcrypt with caller-supplied salt (used for SRP)
bcrypt = "0.16" # reference bcrypt impl for key passphrase derivation
pgp = { version = "0.15", default-features = false } # rpgp — OpenPGP decrypt
chrono = "0.4"
env_logger = "0.11"
tracing = "0.1.44"
rcgen = "0.13"
tokio-rustls = "0.26"
rustls = "0.23"
[target.'cfg(target_os = "macos")'.dependencies]
keyring = { version = "3", features = ["apple-native"] }
[target.'cfg(target_os = "linux")'.dependencies]
keyring = { version = "3", features = ["linux-native-sync-persistent", "crypto-rust"] }
[target.'cfg(target_os = "windows")'.dependencies]
keyring = { version = "3", features = ["windows-native"] }