biased 0.1.5

A flexible Rust library for generating biased random numbers over a given integer range. 一个用于在给定整数范围内生成偏向性随机数的灵活 Rust 库。
Documentation
# 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 = "2024"
name = "biased"
version = "0.1.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A flexible Rust library for generating biased random numbers over a given integer range.
一个用于在给定整数范围内生成偏向性随机数的灵活 Rust 库。"""
homepage = "https://github.com/i18n-site/rust/tree/dev/biased"
readme = "README.md"
keywords = [
    "random",
    "biased",
    "simulation",
    "weighted",
    "rust",
]
license = "MulanPSL-2.0"
repository = "https://github.com/i18n-site/rust.git"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []

[lib]
name = "biased"
path = "src/lib.rs"

[[test]]
name = "main"
path = "tests/main.rs"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.rand]
version = "0.9.2"

[dependencies.thiserror]
version = "2.0.16"

[dev-dependencies.anyhow]
version = "1.0.100"

[dev-dependencies.log]
version = "0.4.28"

[dev-dependencies.log_init]
version = "0.1.25"

[dev-dependencies.static_init]
version = "1.0.4"