Skip to content

Commit

Permalink
compile for rustdoc with macro feature
Browse files Browse the repository at this point in the history
  • Loading branch information
connorskees committed Jul 9, 2023
1 parent 186bd80 commit a3e9233
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a3e9233

Please sign in to comment.