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
[dependencies.random-number]
version = "0.1"

[package]
authors = ["Magic Len <len@magiclen.org>"]
categories = ["algorithms"]
description = "Pick an element from a slice randomly by given weights."
edition = "2021"
homepage = "https://magiclen.org/random-pick"
include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE"]
keywords = ["random", "pick", "choose", "array", "slice"]
license = "MIT"
name = "random-pick"
readme = "README.md"
repository = "https://github.com/magiclen/random-pick"
version = "1.2.16"