41 lines
1.5 KiB
TOML
41 lines
1.5 KiB
TOML
[package]
|
|
name = "keyfork-shard"
|
|
version = "0.2.3"
|
|
edition = "2021"
|
|
license = "AGPL-3.0-only"
|
|
|
|
# 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"]
|
|
openpgp = ["sequoia-openpgp", "anyhow"]
|
|
openpgp-card = ["openpgp-card-sequoia", "card-backend-pcsc", "card-backend", "dep:openpgp-card"]
|
|
qrcode = ["keyfork-qrcode"]
|
|
|
|
[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 }
|
|
|
|
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"] }
|
|
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"
|