keyfork/crates/keyfork-shard/Cargo.toml

41 lines
1.5 KiB
TOML
Raw Normal View History

2023-10-18 09:28:12 +00:00
[package]
name = "keyfork-shard"
2024-08-11 21:31:10 +00:00
version = "0.2.3"
2023-10-18 09:28:12 +00:00
edition = "2021"
2023-11-15 04:19:30 +00:00
license = "AGPL-3.0-only"
2023-10-18 09:28:12 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["openpgp", "openpgp-card", "qrcode", "bin"]
bin = ["sequoia-openpgp/crypto-nettle", "keyfork-qrcode/decode-backend-rqrr"]
2024-01-12 00:49:56 +00:00
openpgp = ["sequoia-openpgp", "anyhow"]
openpgp-card = ["openpgp-card-sequoia", "card-backend-pcsc", "card-backend", "dep:openpgp-card"]
2024-01-12 00:49:56 +00:00
qrcode = ["keyfork-qrcode"]
2023-10-18 09:28:12 +00:00
[dependencies]
keyfork-bug = { workspace = true }
keyfork-prompt = { workspace = true, default-features = false, features = ["mnemonic"] }
keyfork-qrcode = { workspace = true, optional = true, default-features = false }
smex = { workspace = true }
2024-01-10 05:23:47 +00:00
sharks = "0.5.0"
thiserror = { workspace = true }
# Remote operator mode
keyfork-mnemonic = { workspace = true }
x25519-dalek = { version = "2.0.0", features = ["getrandom"] }
aes-gcm = { version = "0.10.3", features = ["std"] }
2024-01-10 05:23:47 +00:00
hkdf = { version = "0.12.4", features = ["std"] }
sha2 = { workspace = true }
# OpenPGP
keyfork-derive-openpgp = { workspace = true, default-features = false }
anyhow = { workspace = true, optional = true }
card-backend = { version = "0.2.0", optional = true }
card-backend-pcsc = { workspace = true, optional = true }
openpgp-card-sequoia = { workspace = true, optional = true }
openpgp-card = { workspace = true, optional = true }
sequoia-openpgp = { workspace = true, optional = true }
base64 = "0.22.0"