choose-rand 0.2.0

A small crate for choosing random items from a set of weighted items.
Documentation
1
2
3
4
5
6
pub use crate::error::*;

/// The Result type for this crate that can contain the `Error` variant.
pub type Result<T> = std::result::Result<T, Error>;

pub use crate::rand::*;