rate-limits 0.6.0

A parser for HTTP rate limit headers
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 = "rate-limits"
version = "0.6.0"
authors = ["Matthias Endler <matthias@endler.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A parser for HTTP rate limit headers"
homepage = "https://github.com/mre/rate-limits"
documentation = "https://docs.rs/rate-limits"
readme = "README.md"
keywords = [
    "http",
    "rate-limit",
    "header",
    "parser",
]
license = "Apache-2.0/MIT"
repository = "https://github.com/mre/rate-limits"

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

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

[dependencies.displaydoc]
version = "0.2.5"

[dependencies.headers]
version = "0.4"

[dependencies.http]
version = "1.4"

[dependencies.once_cell]
version = "1.21.3"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.time]
version = "0.3.46"
features = [
    "parsing",
    "macros",
]

[dev-dependencies.doc-comment]
version = "0.3.4"

[dev-dependencies.indoc]
version = "2.0.7"