chain_spec_generator/
lib.rs

1#![forbid(unsafe_code)]
2#![deny(clippy::all)]
3#![allow(non_snake_case)]
4#[cfg(test)]
5#[macro_use]
6extern crate mockall;
7
8mod error;
9mod output;
10
11mod generation;
12
13pub use generation::ChainSpec;
14
15mod public_models;
16pub use public_models::{
17    limited_agent::LimitedAgentIdentity,
18    member::MemberIdentity,
19    trust::TrustIdentity,
20    validator::{ValidatorIdentity, ValidatorKeys},
21    validator_emissions::EmissionRate,
22};
23
24pub use error::Error;
25pub type Result<T, E = Error> = std::result::Result<T, E>;
26
27// CLI interface
28pub mod cli;