From b4e99c5adf1d35ccc5fd897898ffc1451b0307bb Mon Sep 17 00:00:00 2001 From: Emi Tatsuo Date: Tue, 24 Nov 2020 16:48:28 -0500 Subject: [PATCH] Added ratelimiting to examples --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 8b5432c..ad9948b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,3 +32,7 @@ dashmap = { version = "3.11.10", optional = true } env_logger = "0.8.1" futures-util = "0.3.7" tokio = { version = "0.3.1", features = ["macros", "rt-multi-thread", "sync"] } + +[[example]] +name = "ratelimiting" +required-features = ["ratelimiting"]