This branch fixes a handful of new warnings which have shown up after updating to Rust 1.72.0. This includes: * `clippy::redundant_closure_call` in macros --- allowed because the macro sometimes calls a function that isn't a closure, and the closure is just used in the case where it's not a function. * Unnecessary uses of `#` in raw string literals that don't contain `"` characters. * Dead code warnings with specific feature flag combinations in `tracing-subscriber`. In addition, I've fixed a broken RustDoc link that was making the Netlify build sad.
21 lines
563 B
TOML
21 lines
563 B
TOML
[build]
|
|
command = """
|
|
rustup install nightly --profile minimal \
|
|
&& cargo doc --no-deps --all-features
|
|
"""
|
|
publish = "target/doc"
|
|
|
|
[build.environment]
|
|
RUSTDOCFLAGS="""
|
|
-D warnings \
|
|
--force-warn rustdoc::redundant-explicit-links \
|
|
--force-warn renamed-and-removed-lints \
|
|
--cfg docsrs \
|
|
--html-before-content /opt/build/repo/assets/warning.html \
|
|
--html-in-header /opt/build/repo/assets/noindex.html \
|
|
--html-in-header /opt/build/repo/assets/warning-css.html \
|
|
"""
|
|
|
|
[[redirects]]
|
|
from = "/"
|
|
to = "/tracing"
|