Crate fera

source ·
Expand description

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.

Example

To use ext and fun crates in this example:

extern crate fera;

use fera::ext::VecExt;
use fera::fun::vec;

assert_eq!(vec![3, 2, 1], vec(1..4).reversed());

it is necessary to add this to Cargo.toml:

[dependencies]
fera = {
  version = "0.1",
  features = ["ext", "fun"]
}

Modules

Array traits and implementations.
Extension traits for std types.
Free function for fun programming.
Graph data structures and algorithms.
Generic optional value.
Union find data structure.