Skip to content
Merged
13 changes: 13 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[build]
command = """
rustup install nightly --profile minimal && cargo doc --no-deps
"""
publish = "target/doc"

[build.environment]
RUSTDOCFLAGS="""
-D warnings \
--cfg docsrs \
--cfg tokio_unstable \
"""
RUSTFLAGS="--cfg tokio_unstable"