random-pick 1.2.16

Pick an element from a slice randomly by given weights.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[package]
name = "random-pick"
version = "1.2.16"
authors = ["Magic Len <len@magiclen.org>"]
edition = "2021"
repository = "https://github.com/magiclen/random-pick"
homepage = "https://magiclen.org/random-pick"
keywords = ["random", "pick", "choose", "array", "slice"]
categories = ["algorithms"]
description = "Pick an element from a slice randomly by given weights."
readme = "README.md"
license = "MIT"
include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE"]

[dependencies]
random-number = "0.1"