From b2193ccaa8ad3b114789b6d8b8d3167a1313a4fb Mon Sep 17 00:00:00 2001 From: MalekiRe Date: Tue, 4 Jun 2024 16:44:00 -0700 Subject: [PATCH] added nightly doc generation --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 079ab24..4fd9ae3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,3 +64,8 @@ path = "examples/xr.rs" [profile.release] debug = true + +[package.metadata.docs.rs] +rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"] +all-features = true +cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] \ No newline at end of file