summaryrefslogtreecommitdiffstats
path: root/openpgp/src/parse/packet_pile_parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/parse/packet_pile_parser.rs')
-rw-r--r--openpgp/src/parse/packet_pile_parser.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/parse/packet_pile_parser.rs b/openpgp/src/parse/packet_pile_parser.rs
index 3d48a8b0..f19deb81 100644
--- a/openpgp/src/parse/packet_pile_parser.rs
+++ b/openpgp/src/parse/packet_pile_parser.rs
@@ -13,6 +13,7 @@ use buffered_reader::{BufferedReader, BufferedReaderGeneric,
BufferedReaderMemory};
#[cfg(test)]
+#[allow(unused_macros)]
macro_rules! bytes {
( $x:expr ) => { include_bytes!(concat!("../../tests/data/messages/", $x)) };
}
@@ -282,6 +283,7 @@ fn message_parser_test() {
// Check that we can use the read interface to stream the contents of
// a packet.
+#[cfg(feature = "compression-deflate")]
#[test]
fn message_parser_reader_interface() {
use std::io::Read;