added Rust code

This commit is contained in:
transatoshi
2025-06-10 14:05:02 -07:00
parent 4a53d7fb0b
commit b36758a20f
2 changed files with 216 additions and 0 deletions

15
Cargo.toml Normal file
View File

@ -0,0 +1,15 @@
[package]
name = "grin-faucet"
version = "1.0.0"
edition = "2024"
[dependencies]
warp = { version = "0.3", features = ["tls"] }
tokio = { version = "1", features = ["full"] }
tokio-rustls = "0.22"
serde = { version = "1.0", features = ["derive"] }
chrono = "0.4"
simplelog = "0.11"
log = "0.4"
sha2 = "0.10"
hex = "0.4.3"