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"]