From 824656972a3efd008d40eda437176b63b0d3ac3f Mon Sep 17 00:00:00 2001 From: tison Date: Mon, 12 Aug 2024 23:58:18 +0800 Subject: [PATCH] chore: try fixup docsrs build Signed-off-by: tison --- Cargo.toml | 2 +- src/lib.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5cb2a13..6939d77 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fastant" -version = "0.1.8" +version = "0.1.9" authors = ["FastLabs Developers"] edition = "2021" license = "MIT" diff --git a/src/lib.rs b/src/lib.rs index eb167da..92dd7be 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -29,6 +29,8 @@ //! //! **[See also the `Instant` type](Instant).** +#![cfg_attr(docsrs, feature(doc_cfg))] + mod instant; #[cfg(all(target_os = "linux", any(target_arch = "x86", target_arch = "x86_64")))] mod tsc_now;