diff --git a/src/policy.rs b/src/policy.rs index a5b2c8d..07fd4ce 100644 --- a/src/policy.rs +++ b/src/policy.rs @@ -1,5 +1,6 @@ //! Enums representing key policies. +#[cfg(feature = "untested")] use crate::{error::Error, serialization::Tlv}; /// Specifies how often the PIN needs to be entered for access to the credential in a diff --git a/src/serialization.rs b/src/serialization.rs index a12cd75..06b24c1 100644 --- a/src/serialization.rs +++ b/src/serialization.rs @@ -79,6 +79,7 @@ impl<'a> Tlv<'a> { } /// Writes a TLV to the given buffer. + #[cfg(feature = "untested")] pub(crate) fn write(buffer: &mut [u8], tag: u8, value: &[u8]) -> Result { if buffer.len() < CB_OBJ_TAG_MIN { return Err(Error::SizeError); @@ -98,6 +99,7 @@ impl<'a> Tlv<'a> { /// Writes a TLV to the given buffer. /// /// `value` is guaranteed to be called with a mutable slice of length `length`. + #[cfg(feature = "untested")] pub(crate) fn write_as( buffer: &mut [u8], tag: u8,