Hello!
choices
is a simple crate to expose a service configuration over HTTP.
You can declare your configuration with a struct:
#[derive(Choices)]
struct Config {
debug: bool,
log_file: String,
}
and choices
generates an HTTP server with GET methods to retrieve the fields values and PUT methods to change them.
You can attach callbacks and custom validation functions to the fields of the struct.