10 lines
221 B
Rust
10 lines
221 B
Rust
use kaptan_config_derive::ConfigValidate;
|
|
|
|
#[derive(ConfigValidate)]
|
|
struct DefaultBelowMinimum {
|
|
#[config(id = 1, key = "value", unit = "count", default = 1, range(min = 2, max = 3))]
|
|
value: u32,
|
|
}
|
|
|
|
fn main() {}
|