diff options
Diffstat (limited to 'openpgp/src/keyid.rs')
-rw-r--r-- | openpgp/src/keyid.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openpgp/src/keyid.rs b/openpgp/src/keyid.rs index fb511316..6d8e739f 100644 --- a/openpgp/src/keyid.rs +++ b/openpgp/src/keyid.rs @@ -1,4 +1,6 @@ use std::fmt; + +#[cfg(any(test, feature = "quickcheck"))] use quickcheck::{Arbitrary, Gen}; use crate::Error; @@ -247,6 +249,7 @@ impl KeyID { } } +#[cfg(any(test, feature = "quickcheck"))] impl Arbitrary for KeyID { fn arbitrary<G: Gen>(g: &mut G) -> Self { KeyID::new(u64::arbitrary(g)) |