From 8e083e51891716de5b4fe2518bc96c7c57149641 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.lock | 2 +- Cargo.toml | 3 ++- src/lib.rs | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 83d407a..85a692f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -172,7 +172,7 @@ dependencies = [ [[package]] name = "gcra" -version = "0.5.0" +version = "0.6.0" dependencies = [ "chrono", "dashmap", diff --git a/Cargo.toml b/Cargo.toml index a9a99fe..8ec03a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "gcra" -version = "0.5.0" +version = "0.6.0" edition = "2021" +rust-version = "1.80.0" authors = ["Sam Shih "] license = "MIT" readme = "README.md" diff --git a/src/lib.rs b/src/lib.rs index 7db17eb..ff9bad5 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. //!