[package]
name = "nkeys"
version = "0.4.4"
authors = ["wasmCloud Team"]
edition = "2021"
description = "Rust implementation of the NATS nkeys library"
license = "Apache-2.0"
homepage = "https://github.com/wasmcloud/nkeys"
documentation = "https://docs.rs/nkeys"
repository = "https://github.com/wasmcloud/nkeys"
readme = "README.md"
keywords = ["crypto", "nats", "ed25519", "cryptography"]
categories = ["cryptography", "authentication"]
[features]
cli = [
"quicli",
"structopt",
"term-table",
"exitfailure",
"env_logger",
"serde_json",
]
xkeys = ["dep:crypto_box"]
[package.metadata.docs.rs]
all_features = true
[[bin]]
name = "nk"
required-features = ["cli"]
[dependencies]
signatory = "0.27"
ed25519 = { version = "2.0.0", default-features = false }
ed25519-dalek = { version = "2.0.0", default-features = false, features = [
"digest",
] }
rand = "0.8"
data-encoding = "2.3.0"
log = "0.4.11"
crypto_box = { version = "0.9.1", optional = true }
quicli = { version = "0.4", optional = true }
structopt = { version = "0.3.17", optional = true }
term-table = { version = "1.3.0", optional = true }
exitfailure = { version = "0.5.1", optional = true }
env_logger = { version = "0.9", optional = true }
serde_json = { version = "1.0", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2", default-features = false, features = ["custom"] }