blockchain-core/node/Cargo.toml
StillHammer 64ea897cdc Initial setup: Rust workspace with core lib + axum node
- Workspace: core/ (blockchain library) + node/ (REST API)
- Core: block, chain, wallet, transaction, mining, persistence, state
- Node: axum 0.8 REST API with full endpoint set
- SHA-256 hashing, Ed25519 signatures, account-based model
- Unit tests for all core modules
2026-02-01 10:12:27 +08:00

25 lines
682 B
TOML

[package]
name = "blockchain-node"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
description = "REST API node for the blockchain, powered by axum"
[[bin]]
name = "blockchain-node"
path = "src/main.rs"
[dependencies]
blockchain-core = { path = "../core" }
axum = "0.8"
tokio = { version = "1", features = ["full"] }
tower-http = { version = "0.6", features = ["cors"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
uuid = { version = "1", features = ["v4"] }
chrono = { version = "0.4", features = ["serde"] }
hex = "0.4"