From d19e3159b9a9f6ebf7524b09164f44fd07d28cd4 Mon Sep 17 00:00:00 2001 From: robjtede Date: Mon, 11 Jul 2022 01:17:58 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20ee71d?= =?UTF-8?q?4cfa78b6e2a3c3381cc2e60d1fc6de578d0=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- actix_limitation/index.html | 4 ++-- settings.html | 10 ++++++---- src/actix_limitation/lib.rs.html | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/actix_limitation/index.html b/actix_limitation/index.html index b02fb04aa..edec3e9d5 100644 --- a/actix_limitation/index.html +++ b/actix_limitation/index.html @@ -10,7 +10,7 @@

Crate actix_limitation

source · []
Expand description

Rate limiter using a fixed window counter for arbitrary keys, backed by Redis for Actix Web.

[dependencies]
 actix-web = "4"
-actix-limitation = "0.1.4"
+actix-limitation = "0.3"
use std::time::Duration;
 use actix_web::{get, web, App, HttpServer, Responder};
 use actix_limitation::{Limiter, RateLimiter};
@@ -38,7 +38,7 @@ actix-limitation = "0.1.4"
.app_data(limiter.clone()) .service(index) }) - .bind("127.0.0.1:8080")? + .bind(("127.0.0.1", 8080))? .run() .await } diff --git a/settings.html b/settings.html index 25b9b875f..bb5e03d1a 100644 --- a/settings.html +++ b/settings.html @@ -1,8 +1,10 @@ -Rustdoc settings