From e66012afee19b05b40fcb94683ed5181068c822d Mon Sep 17 00:00:00 2001 From: tison Date: Tue, 12 Nov 2024 03:12:45 +0800 Subject: [PATCH] docs: try scrape examples on docs.rs Signed-off-by: tison --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 1d88f69..25a7c73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,6 +27,7 @@ rust-version = "1.75.0" [package.metadata.docs.rs] all-features = true +cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] rustdoc-args = ["--cfg", "docsrs"] [dependencies]