|
[build]
|
|
command = """
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly --profile minimal \
|
|
&& source $HOME/.cargo/env \
|
|
&& RUSTDOCFLAGS=\"--cfg docsrs\" cargo +nightly doc --no-deps
|
|
"""
|
|
publish = "target/doc"
|
|
|
|
[[redirects]]
|
|
from = "/"
|
|
to = "/metrics" |