[package]
name = "synor-cli"
version = "0.1.0"
edition = "2021"
description = "Synor blockchain CLI"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/synorcc/synor"
keywords = ["blockchain", "dag", "cli", "synor", "wallet"]
categories = ["cryptography::cryptocurrencies", "command-line-utilities"]

[[bin]]
name = "synor"
path = "src/main.rs"

[dependencies]
# Synor crates
synor-types = { path = "../../crates/synor-types" }
synor-crypto = { path = "../../crates/synor-crypto" }
synor-rpc = { path = "../../crates/synor-rpc" }

# Async runtime
tokio = { workspace = true, features = ["full"] }

# CLI
clap = { version = "4.4", features = ["derive", "env"] }
dialoguer = "0.11"
console = "0.15"
indicatif = "0.17"

# Configuration
serde = { workspace = true }
serde_json = { workspace = true }
toml = "0.8"

# Logging
tracing = { workspace = true }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

# Error handling
thiserror = { workspace = true }
anyhow = "1.0"

# Utils
hex = { workspace = true }
dirs = "5.0"
tabled = "0.15"
chrono = { workspace = true }
borsh = { workspace = true }

# Cryptography (for wallet)
sha3 = { workspace = true }
blake3 = { workspace = true }
rand = { workspace = true }
aes-gcm = "0.10"
argon2 = "0.5"

# HTTP client
reqwest = { version = "0.11", features = ["json", "multipart"] }

[dev-dependencies]
tempfile = "3"

[features]
default = []
dev = []
