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


(PS: PRs are welcome)


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/
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