synor/apps/faucet/Cargo.toml
Gulshan Yadav b22c1b89f0 feat: Phase 7 production readiness improvements
- Add SYNOR_BOOTSTRAP_PEERS env var for runtime seed node configuration
- Implement secrets provider abstraction for faucet wallet key security
  (supports file-based secrets in /run/secrets for production)
- Create WASM crypto crate foundation for web wallet (Ed25519, BIP-39)
- Add DEPLOYMENT.md guide for testnet deployment
- Add SECURITY_AUDIT_SCOPE.md for external security audit preparation
- Document seed node deployment process in synor-network

Security improvements:
- Faucet now auto-detects /run/secrets for secure key storage
- CORS already defaults to specific origins (https://faucet.synor.cc)
- Bootstrap peers now configurable at runtime without recompilation
2026-01-08 07:21:14 +05:30

53 lines
1.1 KiB
TOML

[package]
name = "synor-faucet"
version = "0.1.0"
edition = "2021"
description = "Synor Testnet Faucet - Dispense test tokens"
license = "MIT OR Apache-2.0"
[[bin]]
name = "synor-faucet"
path = "src/main.rs"
[dependencies]
# Async runtime
tokio = { version = "1.35", features = ["full"] }
# Web framework
axum = { version = "0.7", features = ["json"] }
tower = { version = "0.4", features = ["timeout", "limit"] }
tower-http = { version = "0.5", features = ["cors", "trace"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# HTTP client for RPC calls
reqwest = { version = "0.11", features = ["json"] }
# Rate limiting
governor = "0.6"
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# Time handling
chrono = { version = "0.4", features = ["serde"] }
# Environment
dotenvy = "0.15"
# Hex encoding
hex = "0.4"
# Synor types
synor-types = { path = "../../crates/synor-types" }
[dev-dependencies]
tokio-test = "0.4"
tempfile = "3.10"