[package]
edition = "2024"
rust-version = "1.88"
name = "runlimit-core"
version = "0.1.0"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Framework-neutral rate-limit policies, keys, and decisions"
documentation = "https://docs.rs/runlimit-core"
readme = "README.md"
keywords = [
"rate-limit",
"throttling",
"security",
]
categories = ["web-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bpcakes/runlimit"
resolver = "2"
[lib]
name = "runlimit_core"
path = "src/lib.rs"
[dependencies.hmac]
version = "0.12.1"
[dependencies.sha2]
version = "0.10.9"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.zeroize]
version = "1.8.1"
[lints.clippy]
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1