docs.rs failed to build udigest-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
udigest-0.2.3
Unambiguously digest structured data
udigest provides utilities for unambiguous hashing the structured data. Structured
data can be anything that implements Digestable trait:
str,String,CStr,CString- Integers:
i8,i16,i32,i64,i128,u8,u16,u32,u64,u128,char,isize,usize - Containers:
Box,Arc,Rc,Cow,Option,Result - Collections: arrays, slices,
Vec,LinkedList,VecDeque,BTreeSet,BTreeMap
The trait is intentionally not implemented for certain types:
HashMap,HashSetas they can not be traversed in deterministic order
The Digestable trait can be implemented for the struct using a macro:
let alice = Person ;
let hash = ;
The crate intentionally does not try to follow any existing standards for unambiguous
encoding. The format for encoding was designed specifically for udigest to provide
a better usage experience in Rust. The details of encoding format can be found in
encoding module.
Features
digestenables support of hash functions that implementdigesttraits
If feature is not enabled, the crate is still usable viaDigestabletrait that generically implements unambiguous encodinginline-structis required to useinline_struct!macrostdimplementsDigestabletrait for types in standard libraryallocimplementsDigestabletrait for type inalloccratederiveenablesDigestableproc macro
Join us in Discord!
Feel free to reach out to us in Discord!