keyfork/crates/keyfork-shard/Cargo.toml

38 lines
1.6 KiB
TOML
Raw Normal View History

2023-10-18 09:28:12 +00:00
[package]
name = "keyfork-shard"
version = "0.1.0"
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", "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]
2024-01-15 05:12:34 +00:00
keyfork-prompt = { version = "0.1.0", path = "../util/keyfork-prompt", default-features = false, features = ["mnemonic"] }
keyfork-qrcode = { version = "0.1.0", path = "../qrcode/keyfork-qrcode", optional = true }
smex = { version = "0.1.0", path = "../util/smex" }
2024-01-10 05:23:47 +00:00
sharks = "0.5.0"
thiserror = "1.0.50"
# Remote operator mode
2024-01-15 05:12:34 +00:00
keyfork-mnemonic-util = { version = "0.1.0", path = "../util/keyfork-mnemonic-util" }
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 = "0.10.8"
# OpenPGP
2024-01-15 05:12:34 +00:00
keyfork-derive-openpgp = { version = "0.1.0", path = "../derive/keyfork-derive-openpgp" }
anyhow = { version = "1.0.79", optional = true }
card-backend = { version = "0.2.0", optional = true }
card-backend-pcsc = { version = "0.5.0", optional = true }
openpgp-card-sequoia = { version = "0.2.0", optional = true, default-features = false }
openpgp-card = { version = "0.4.0", optional = true }
sequoia-openpgp = { version = "1.17.0", optional = true, default-features = false }