# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "random-picker" version = "0.2.3" authors = ["wuwbobo2021 "] build = false autobins = false autoexamples = false autotests = false autobenches = false 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. """ readme = "README.md" keywords = [ "random", "benchmark", "draw", "lot", ] categories = [ "command-line-utilities", "algorithms", ] license = "MIT OR Apache-2.0" repository = "https://github.com/wuwbobo2021/random-picker" [profile.release] opt-level = 3 lto = true [lib] name = "random_picker" path = "lib.rs" [[bin]] name = "random-picker" path = "main.rs" [dependencies.rand] version = "0.8.5" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [features] serde-config = ["dep:serde"]