13 releases

0.1.12 Apr 6, 2024
0.1.11 Apr 6, 2024
0.1.10 Feb 19, 2024
0.1.8 Jan 13, 2024
0.1.4 Sep 30, 2023

#294 in Cargo plugins

Download history 11/week @ 2023-12-29 2/week @ 2024-01-05 9/week @ 2024-01-12 2/week @ 2024-02-09 142/week @ 2024-02-16 48/week @ 2024-02-23 19/week @ 2024-03-01 21/week @ 2024-03-08 10/week @ 2024-03-15 4/week @ 2024-03-29 248/week @ 2024-04-05

273 downloads per month

MIT/Apache

21KB
459 lines

cargo docs-rs

github crates.io build status

Run cargo rustdoc with the same options that would be used by docs.rs, taking into account the package.metadata.docs.rs configured in Cargo.toml.

Example

If the following GitHub Actions job succeeds, it's likely that docs.rs will succeed in building your crate's documentation.

# .github/workflows/ci.yml

name: test suite
on: [push, pull_request]

jobs:
  # ...

  doc:
    name: Documentation
    runs-on: ubuntu-latest
    env:
      RUSTDOCFLAGS: -Dwarnings
    steps:
      - uses: actions/checkout@v4
      - uses: dtolnay/rust-toolchain@nightly
      - uses: dtolnay/install@cargo-docs-rs
      - run: cargo docs-rs

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2–3MB
~61K SLoC