dynamic-weighted-sampler 0.2.2

An efficient weighted sampler with dynamically updatable weights
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 = "2021"
name = "dynamic-weighted-sampler"
version = "0.2.2"
authors = ["Germán Kruszewski <germank@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An efficient weighted sampler with dynamically updatable weights"
readme = "README.md"
keywords = [
    "weighted",
    "sampler",
    "dynamic",
    "updatable",
]
categories = ["algorithms"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/germank/dynamic-weighted-sampler"

[features]
default = []
serde = ["dep:serde"]

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

[dependencies.rand]
version = "0.9.1"

[dependencies.rand_distr]
version = "0.5.1"

[dependencies.serde]
version = "1.0.219"
optional = true

[dependencies.sugars]
version = "3.0.1"

[dev-dependencies.approx]
version = "0.5.1"