diff options
| author | mat <git@matdoes.dev> | 2025-12-15 13:53:46 +0930 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-12-15 13:53:46 +0930 |
| commit | aab9f56da20a36347fe31557377e07a47c114dc6 (patch) | |
| tree | 15c81634d92eed995a85a65b05584ae216207163 /Cargo.toml | |
| parent | 9745766cff8907e6c6bb87b4ab852acaeadd6ef9 (diff) | |
| download | azalea-drasl-aab9f56da20a36347fe31557377e07a47c114dc6.tar.xz | |
improve docs by enabling scraped examples and bevy trait tags
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -115,6 +115,19 @@ azalea-world = { path = "azalea-world", version = "0.14.0" } # https://users.rust-lang.org/t/to-string-vs-to-owned-for-string-literals/1441 str_to_string = "warn" +[workspace.lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docsrs_dep)'] } + +[workspace.metadata.docs.rs] +rustc-args = ["--cfg", "docsrs_dep"] +rustdoc-args = [ + "--cfg", + "docsrs_dep", + "--html-after-content", + "docs-rs/trait-tags.html", +] +cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] + # --- Profile Settings --- [profile.release] |
