From 14f16f4dde82054d617f275d87ad0e97ad1fb97c Mon Sep 17 00:00:00 2001 From: Benno Zeeman Date: Tue, 7 Jan 2025 07:45:44 +0100 Subject: [PATCH] docs(autonomi): scraped examples for docs.rs --- autonomi/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autonomi/Cargo.toml b/autonomi/Cargo.toml index 57db0e6c6f..0be73de4c3 100644 --- a/autonomi/Cargo.toml +++ b/autonomi/Cargo.toml @@ -76,3 +76,5 @@ workspace = true [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] +# Adds snippets from the `examples` dir to items if relevant +cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]