lucia 0.5.0

A flexible client API framework as well as a set of API collections
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
macro_rules! create_byte_buffer {
  ($($bounds:tt)*) => {
    /// Specialized [cl_aux::DynContigColl] trait for bytes.
    pub trait ByteBuffer: $($bounds)* {
    }

    impl<U> ByteBuffer for U
    where
      U: $($bounds)*
    {
    }
  };
}

#[cfg(feature = "std")]
create_byte_buffer!(cl_aux::DynContigColl<u8> + std::io::Write);
#[cfg(not(feature = "std"))]
create_byte_buffer!(cl_aux::DynContigColl<u8>);