diff --git a/lib/src/kvs/ds.rs b/lib/src/kvs/ds.rs index ed2b993c..4536c550 100644 --- a/lib/src/kvs/ds.rs +++ b/lib/src/kvs/ds.rs @@ -15,6 +15,7 @@ pub struct Datastore { pub(super) inner: Inner, } +#[allow(clippy::large_enum_variant)] pub(super) enum Inner { #[cfg(feature = "kv-echodb")] Mem(super::mem::Datastore), diff --git a/lib/src/kvs/tx.rs b/lib/src/kvs/tx.rs index e1de620c..3df9f378 100644 --- a/lib/src/kvs/tx.rs +++ b/lib/src/kvs/tx.rs @@ -21,6 +21,7 @@ pub struct Transaction { pub(super) inner: Inner, } +#[allow(clippy::large_enum_variant)] pub(super) enum Inner { #[cfg(feature = "kv-echodb")] Mem(super::mem::Transaction),