shufflr 0.1.1

Shuffle a lists using Fisher-Yates algorithm
Documentation

shufflr

crates.io Shufflr

Rust CI

Shuffle lists based on Fisher-Yates shuffle algorithm

Using shufflr

Shufflr is available for Rust as crates.io package (also for JavaScript as NPM package).

To use shufflr in your project simply follow this steps:

Add shufflr to your Cargo.toml:

    [dependencies]
    shufflr = "0.1.0"

Import shufflr in your Rust code:

    use shufflr::shuffle;

Use shuffle method with an array to get a copy of it shuffled:

    let shuffled_array = shuffle(&original_array);

Develop

After cloning the repository, build the project with:

    cargo build

To run shufflr tests simply run:

    cargo test