20 releases (7 stable)
Uses old Rust 2015
|1.5.0||Sep 20, 2021|
|1.4.0||Jul 1, 2018|
|1.3.0||Jun 29, 2018|
|0.3.5||Oct 13, 2017|
|0.2.1||Apr 6, 2016|
#726 in Data structures
12,200 downloads per month
Used in 59 crates (7 directly)
Generic Collection Library
This library provides a set of generic traits over Rust collections library. Examples and more in the documentation.
This library compiles on Rust stable.
To enjoy specialization of some traits, use
cargo build --features="nightly".
You can manage Rust compiler's channels and versions with rustup.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.
Wrappers of the standard collection library for generic programming.
This library categorizes operations on collections such as sets, tuples or vectors. The goal is to allow designing generic algorithms by specifying trait bounds on type parameters.
It acts as a temporary substitute and will be replaced when proper generic supports will be added on standard collections. Generic operations are implemented on wrappers of the standard collections (available in
wrappers::*), this is due to name conflicts between existing methods and traits function names.
If the feature
nightly is defined (use
cargo build --features="nightly"), then some of the traits are implemented using specialization.
stable they are implemented for every type satisfying some trait bounds, but a user cannot override the definitions.