diff --git a/src/accountant_skel.rs b/src/accountant_skel.rs index af55b73b344086..6ff75b830b8108 100644 --- a/src/accountant_skel.rs +++ b/src/accountant_skel.rs @@ -21,6 +21,7 @@ pub struct AccountantSkel { pub ledger: Vec, } +#[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] #[derive(Serialize, Deserialize, Debug)] pub enum Request { Transaction(Transaction), diff --git a/src/recorder.rs b/src/recorder.rs index 0a5a0bc145b66d..a590cd8783a8f5 100644 --- a/src/recorder.rs +++ b/src/recorder.rs @@ -12,6 +12,7 @@ use hash::{hash, Hash}; use entry::{create_entry_mut, Entry}; use event::Event; +#[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] pub enum Signal { Tick, Event(Event),