keyfork/keyfork-shard/Cargo.toml

37 lines
1.3 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"]
openpgp = ["sequoia-openpgp", "prompt", "anyhow"]
openpgp-card = ["openpgp-card-sequoia", "card-backend-pcsc", "card-backend", "dep:openpgp-card"]
2023-12-21 20:01:59 +00:00
prompt = ["keyfork-prompt"]
2023-10-18 09:28:12 +00:00
[dependencies]
2024-01-10 05:23:47 +00:00
keyfork-prompt = { version = "0.1.0", path = "../keyfork-prompt", optional = true }
smex = { version = "0.1.0", path = "../smex" }
2024-01-10 05:23:47 +00:00
sharks = "0.5.0"
thiserror = "1.0.50"
# Remote operator mode
keyfork-mnemonic-util = { version = "0.1.0", path = "../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-10 05:23:47 +00:00
keyfork-derive-openpgp = { version = "0.1.0", path = "../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 }
openpgp-card = { version = "0.4.0", optional = true }
sequoia-openpgp = { version = "1.16.1", optional = true }