initial example-config generator
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
c40d20cb95
commit
2a59a56eaa
3 changed files with 107 additions and 1 deletions
|
@ -5,6 +5,7 @@ use std::{
|
|||
path::PathBuf,
|
||||
};
|
||||
|
||||
use conduit_macros::config_example_generator;
|
||||
use either::{
|
||||
Either,
|
||||
Either::{Left, Right},
|
||||
|
@ -27,6 +28,7 @@ pub mod check;
|
|||
pub mod proxy;
|
||||
|
||||
/// all the config options for conduwuit
|
||||
#[config_example_generator]
|
||||
#[derive(Clone, Debug, Deserialize)]
|
||||
#[allow(clippy::struct_excessive_bools)]
|
||||
pub struct Config {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue