deadlinks / cargo-deadlinks

Cargo subcommand for checking your documentation for broken links
Apache License 2.0
149 stars 16 forks source link

Add --forbid-http flag #138

Closed jyn514 closed 3 years ago

jyn514 commented 3 years ago

Closes https://github.com/deadlinks/cargo-deadlinks/issues/29. I named it --forbid-http to be consistent with the HttpCheck enum, and I used Forbid there because I thought it gave greater contrast from Disabled, which was ambiguous.

@hobofan does this look like about what you were imagining in https://github.com/deadlinks/cargo-deadlinks/issues/2#issuecomment-334741788 ?

jyn514 commented 3 years ago

Note that this is technically a breaking change because of the change to CheckContext, I want to get out one more 0.7 release before merging this.