diff --git a/crates/lib/Cargo.toml b/crates/lib/Cargo.toml index 5e0317f..62dd2c6 100644 --- a/crates/lib/Cargo.toml +++ b/crates/lib/Cargo.toml @@ -25,7 +25,8 @@ bench = false [package.metadata.docs.rs] # To build locally: -# RUSTDOCFLAGS="--cfg doc_cfg" cargo +nightly doc --no-deps --open +# RUSTDOCFLAGS="--cfg doc_cfg" cargo +nightly doc --features=macro --no-deps --open +features = ["macro"] rustdoc-args = ["--cfg", "doc_cfg"] [dependencies]