diff --git a/src/builder.rs b/src/builder.rs index 6f928c69..ee266d41 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -97,7 +97,7 @@ pub struct ConfigBuilder { pub trait BuilderState {} /// Represents data specific to builder in default, sychronous state, without support for async. -#[derive(Debug, Default)] +#[derive(Debug, Default, Clone)] pub struct DefaultState { sources: Vec>, } @@ -123,7 +123,7 @@ pub struct DefaultState { pub struct AsyncConfigBuilder {} /// Represents data specific to builder in asychronous state, with support for async. -#[derive(Debug, Default)] +#[derive(Debug, Default, Clone)] pub struct AsyncState { sources: Vec, }