A generic trait for any slice, with item as a type parameter
&[dyn Trait] implementation, inspired by a Reddit thread.
SliceFind trait add .find() method (for search sub-slice in slice) to Vec, slice, fixed-length-slice in standard library
Helper traits allowing indexing into vectors and similar types by other types than `usize`
By-value slices and iterators
This library is designed for validating and modeling user input. The crate includes models, functions, traits, errors, and other dependencies.
A small library to quickly stringify integers with basic formatting.
Low-level LevelDB-compatible internal key encoding, comparison, and filter-policy utilities used by bitcoin-rs for on-disk key/value layout and MemTable/SSTable lookups.
Derive macros for the value-traits crate
Extends the std::fmt::*Hex traits to slices
C-compatible types for crusty_traits - FFI-safe vectors and slices
Extension traits for casting between slices and slices of arrays. (&[T] <-> &[[T; n]])