mirror of
https://github.com/vacp2p/zerokit.git
synced 2026-01-09 21:58:06 -05:00
Fix Configuration Handling: + Document the expected format of the configuration file. + Provide an example configuration file in rln-cli to guide users. + Ensure that the CLI provides useful error messages if the configuration is missing or incorrect. Implement Relay and Stateless RLN Examples + Add Relay example to illustrate RLN’s practical use case. + Add Stateless RLN example, where an externally built Merkle tree provides paths and roots for RLN stateless feature.
27 lines
626 B
TOML
27 lines
626 B
TOML
[package]
|
|
name = "rln-cli"
|
|
version = "0.4.0"
|
|
edition = "2021"
|
|
|
|
[[example]]
|
|
name = "relay"
|
|
path = "src/examples/relay.rs"
|
|
|
|
[[example]]
|
|
name = "stateless"
|
|
path = "src/examples/stateless.rs"
|
|
required-features = ["stateless"]
|
|
|
|
[dependencies]
|
|
rln = { path = "../rln", default-features = true, features = ["pmtree-ft"] }
|
|
zerokit_utils = { path = "../utils" }
|
|
clap = { version = "4.5.29", features = ["cargo", "derive", "env"] }
|
|
clap_derive = { version = "4.5.28" }
|
|
color-eyre = "0.6.2"
|
|
serde_json = "1.0.138"
|
|
serde = { version = "1.0.217", features = ["derive"] }
|
|
|
|
[features]
|
|
arkzkey = ["rln/arkzkey"]
|
|
stateless = ["rln/stateless"]
|