From 462d1b096b6d787dfed433877937d8c58972fbb5 Mon Sep 17 00:00:00 2001 From: tison Date: Thu, 1 Aug 2024 22:08:54 +0800 Subject: [PATCH] chore: configure for docs rs (#14) Signed-off-by: tison --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index d9f0f50..32bbb81 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,6 +25,10 @@ repository = "https://github.com/tisonkun/logforth" rust-version = "1.71.0" version = "0.3.0" +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docs"] + [features] fastrace = ["dep:fastrace"] file = ["dep:crossbeam-channel", "dep:parking_lot", "dep:time"]