-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
32 lines (27 loc) · 894 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[package]
name = "random-picker"
version = "0.2.3"
authors = ["wuwbobo2021 <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/wuwbobo2021/random-picker"
readme = "README.md"
description = """
Generates random choices based on the weight table of probabilities. It can be used to calculate each item's probability of being picked up when picking a given amount of non-repetitive items, or to compare the speed of OS random source with that of the CSPRNG.
"""
keywords = ["random", "benchmark", "draw", "lot"]
categories = ["command-line-utilities", "algorithms"]
[dependencies]
rand = "0.8.5"
serde = { version = "1.0", features = ["derive"], optional = true }
[features]
serde-config = ["dep:serde"]
[profile.release]
opt-level = 3
lto = true
[lib]
name = "random_picker"
path = "lib.rs"
[[bin]]
name = "random-picker"
path = "main.rs"