Cargo-doctor is here!

Announcing 0.1 release of Cargo Doctor - a cargo command that checks if all links mentioned in your docs are live or not. It can work on docs generated locally or the ones on cargo doc or the ones on docs.rs.

Links:
Github
Crates

(PS: PRs are welcome)

9 Likes

Do I need nightly for this?

When installing, it tells me:

error[E0658]: non-string literals in attributes, or string literals in top-level positions, are experimental (see issue #34981)
   --> src/handler.rs:125:1
    |
125 | #[fail(display = "broken links: {}", 0)]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1 Like

My bad. I didn't test it enough on stable. Yes you can run it on nightly. I'll try to fix it asap. Thanks :slight_smile:

1 Like