diff --git a/src/config.rs b/src/config.rs index f7bdf1a..885dbc7 100644 --- a/src/config.rs +++ b/src/config.rs @@ -95,6 +95,7 @@ enum EndianOption { /// /// When a byte limit is set, bincode will return `Err` on any deserialization that goes over the limit, or any /// serialization that goes over the limit. +#[derive(Clone)] pub struct Config { limit: LimitOption, endian: EndianOption,