rotating-bloom-filter 0.1.2

A probabilistic data structure that rotates out old items to maintain recent membership.
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 = "rotating-bloom-filter"
version = "0.1.2"
authors = ["eaon <eaon@posteo.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A probabilistic data structure that rotates out old items to maintain recent membership."
readme = "README.md"
license = "EUPL-1.2"
repository = "https://codeberg.org/reachable-systems/reach/src/branch/main/common/rotating-bloom-filter"
resolver = "2"

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

[dependencies.fastbloom]
version = "0.17.0"
default-features = false

[dependencies.rand_core]
version = "0.10.1"

[dev-dependencies.proptest]
version = "1.11.0"

[dev-dependencies.rand]
version = "0.10.1"
features = ["sys_rng"]

[lints.clippy]
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
checked_conversions = "warn"
implicit_saturating_sub = "warn"
panic = "warn"
panic_in_result_fn = "warn"
unwrap_used = "warn"

[lints.rust]
unsafe_code = "deny"
unused_lifetimes = "warn"
unused_qualifications = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1