diff --git a/merk/src/proofs/query/mod.rs b/merk/src/proofs/query/mod.rs index c8ffa8ea..6c543950 100644 --- a/merk/src/proofs/query/mod.rs +++ b/merk/src/proofs/query/mod.rs @@ -18,8 +18,9 @@ mod verify; use std::cmp::Ordering; use std::{collections::HashSet, fmt, ops::RangeFull}; +#[cfg(any(feature = "full", feature = "verify"))] use bincode::{ - enc::{write::Writer, Encoder}, + enc::write::Writer, error::{DecodeError, EncodeError}, BorrowDecode, Decode, Encode, };