| Crates.io | fera |
| lib.rs | fera |
| version | 0.2.0 |
| created_at | 2017-11-13 21:00:13.443156+00 |
| updated_at | 2018-10-24 18:38:12.383725+00 |
| description | An aggregation of algorithms, data structures and supporting crates. |
| homepage | |
| repository | https://github.com/malbarbo/fera |
| max_upload_size | |
| id | 39267 |
| size | 24,114 |
An aggregation of algorithms, data structures and supporting crates.
This crate does not directly provides any item, it only reexports modules corresponding to others crates. Each module is enable with a feature with the same name. All features are disable by default. To avoid longer compile times, it is recommend to enable only the features that will be used.
fera-ext: Extensions traits for std types.fera-fun: Free functions for fun programming.fera-graph: Graph data structures and algorithms.fera-optional: An optional value trait and some implementations.fera-unionfind: Union-find (disjoint-set) data structure
implementation.To use ext and fun crates in this example:
extern crate fera;
use fera::ext::VecExt;
use fera::fun::vec;
fn main() {
assert_eq!(vec![3, 2, 1], vec(1..4).reversed());
}
it is necessary to add this to Cargo.toml:
[dependencies]
fera = { version = "0.2", features = ["ext", "fun"] }
Licensed under Mozilla Public License 2.0. Contributions will be accepted under the same license.