mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 23:51:06 +01:00
prepare actix-limitation release 0.4.0
This commit is contained in:
parent
32313c0af6
commit
9a3b410409
@ -1,6 +1,9 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## Unreleased - 2022-xx-xx
|
## Unreleased - 2022-xx-xx
|
||||||
|
|
||||||
|
|
||||||
|
## 0.4.0 - 2022-09-10
|
||||||
- Add `Builder::key_by` for setting a custom rate limit key function.
|
- Add `Builder::key_by` for setting a custom rate limit key function.
|
||||||
- Implement `Default` for `RateLimiter`.
|
- Implement `Default` for `RateLimiter`.
|
||||||
- `RateLimiter` is marked `#[non_exhaustive]`; use `RateLimiter::default()` instead.
|
- `RateLimiter` is marked `#[non_exhaustive]`; use `RateLimiter::default()` instead.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "actix-limitation"
|
name = "actix-limitation"
|
||||||
version = "0.3.0"
|
version = "0.4.0"
|
||||||
authors = [
|
authors = [
|
||||||
"0xmad <0xmad@users.noreply.github.com>",
|
"0xmad <0xmad@users.noreply.github.com>",
|
||||||
"Rob Ede <robjtede@icloud.com>",
|
"Rob Ede <robjtede@icloud.com>",
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
> Originally based on <https://github.com/fnichol/limitation>.
|
> Originally based on <https://github.com/fnichol/limitation>.
|
||||||
|
|
||||||
[![crates.io](https://img.shields.io/crates/v/actix-limitation?label=latest)](https://crates.io/crates/actix-limitation)
|
[![crates.io](https://img.shields.io/crates/v/actix-limitation?label=latest)](https://crates.io/crates/actix-limitation)
|
||||||
[![Documentation](https://docs.rs/actix-limitation/badge.svg?version=0.3.0)](https://docs.rs/actix-limitation/0.3.0)
|
[![Documentation](https://docs.rs/actix-limitation/badge.svg?version=0.4.0)](https://docs.rs/actix-limitation/0.4.0)
|
||||||
![Apache 2.0 or MIT licensed](https://img.shields.io/crates/l/actix-limitation)
|
![Apache 2.0 or MIT licensed](https://img.shields.io/crates/l/actix-limitation)
|
||||||
[![Dependency Status](https://deps.rs/crate/actix-limitation/0.3.0/status.svg)](https://deps.rs/crate/actix-limitation/0.3.0)
|
[![Dependency Status](https://deps.rs/crate/actix-limitation/0.4.0/status.svg)](https://deps.rs/crate/actix-limitation/0.4.0)
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user