docs.rs failed to build rustdoc-assets-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
rustdoc-assets-0.2.1
Build script helper which copies media and assets from a source directory below your current crate to the target output directory of rustdoc.
Source: https://mrh.io/cargo-build-images-in-rust-docs/
Example
In Cargo.toml
:
[]
= "0.1.0"
In build.rs
:
# // simulate cargo environment variables so that the test compiles
# set_var;
# set_var;
copy_assets_folder;
In the rustdoc comment:
///
///
///