initial example-config generator

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-09-08 22:17:02 +00:00 committed by strawberry
parent c40d20cb95
commit 2a59a56eaa
3 changed files with 107 additions and 1 deletions

View file

@ -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 {