From 82516bef6d92377300f8a90a3c8cbaa2352ef9b3 Mon Sep 17 00:00:00 2001 From: Sam Shih Date: Tue, 2 Jul 2024 17:54:32 +0000 Subject: [PATCH] div_duration stable in 1.80 --- Cargo.toml | 3 ++- src/lib.rs | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 848f7d7..09ace2e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,13 +2,14 @@ name = "gcra" version = "0.6.0" edition = "2021" +rust-version = "1.80.0" authors = ["Sam Shih "] license = "MIT" readme = "README.md" repository = "https://github.com/lytefast/gcra-rs" homepage = "https://github.com/lytefast/gcra-rs" description = "A basic implementation of GCRA algorithm for rate limiting" -keywords = ["rate-limit", "rate", "limit", "gcra"] +keywords = ["rate-limit", "rate", "limit", "gcra", "rate limit", "limiter"] [features] default = ["rate-limiter"] diff --git a/src/lib.rs b/src/lib.rs index d15d1ab..ab23f68 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,3 @@ -#![feature(div_duration)] - //! Library which implements the core //! [GCRA](https://en.wikipedia.org/wiki/Generic_cell_rate_algorithm) functionality in rust. //!