68 lines
1.4 KiB
TOML
68 lines
1.4 KiB
TOML
[package]
|
|
name = "nsigner"
|
|
version = "0.0.2"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
description = "Attended Nostr signing daemon — Rust port of n_signer"
|
|
|
|
[[bin]]
|
|
name = "nsigner"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
name = "nsigner"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
# nostr_core_lib_rust — local path dependencies
|
|
nostr-core = { path = "../nostr_core_lib_rust/core" }
|
|
nips = { package = "nostr-nips", path = "../nostr_core_lib_rust/nips" }
|
|
|
|
# Crypto
|
|
secp256k1 = { version = "0.29", features = ["rand-std", "hashes", "global-context"] }
|
|
sha2 = "0.10"
|
|
hmac = "0.12"
|
|
hex = "0.4"
|
|
zeroize = { version = "1", features = ["zeroize_derive"] }
|
|
ed25519-dalek = { version = "2", features = ["rand_core"] }
|
|
x25519-dalek = { version = "2", features = ["static_secrets"] }
|
|
rand = "0.8"
|
|
rand_core = "0.6"
|
|
sha3 = "0.10"
|
|
chacha20poly1305 = "0.10"
|
|
|
|
# Post-quantum crypto (pure Rust implementations)
|
|
ml-dsa = { version = "0.1", features = ["rand_core"] }
|
|
ml-kem = { version = "0.3", features = ["getrandom"] }
|
|
slh-dsa = "0.2.0-rc.5"
|
|
|
|
# Serialization
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
# System
|
|
libc = "0.2"
|
|
|
|
# CLI
|
|
clap = { version = "4", features = ["derive"] }
|
|
|
|
# TUI
|
|
crossterm = "0.27"
|
|
ratatui = { path = "ratatui/ratatui", default-features = false, features = ["crossterm"] }
|
|
|
|
# Encoding
|
|
base64 = "0.22"
|
|
|
|
# Error handling
|
|
thiserror = "2"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
strip = true
|