Allow large enum variant size for Datastore and Transaction
This commit is contained in:
parent
5921a6b632
commit
fc2c48647c
2 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@ pub struct Datastore {
|
||||||
pub(super) inner: Inner,
|
pub(super) inner: Inner,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::large_enum_variant)]
|
||||||
pub(super) enum Inner {
|
pub(super) enum Inner {
|
||||||
#[cfg(feature = "kv-echodb")]
|
#[cfg(feature = "kv-echodb")]
|
||||||
Mem(super::mem::Datastore),
|
Mem(super::mem::Datastore),
|
||||||
|
|
|
@ -21,6 +21,7 @@ pub struct Transaction {
|
||||||
pub(super) inner: Inner,
|
pub(super) inner: Inner,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::large_enum_variant)]
|
||||||
pub(super) enum Inner {
|
pub(super) enum Inner {
|
||||||
#[cfg(feature = "kv-echodb")]
|
#[cfg(feature = "kv-echodb")]
|
||||||
Mem(super::mem::Transaction),
|
Mem(super::mem::Transaction),
|
||||||
|
|
Loading…
Reference in a new issue