budziq / rust-skeptic

Test your Rust Markdown documentation via Cargo
Apache License 2.0
285 stars 43 forks source link

Can I run rustfmt and clippy? #134

Open Indosaram opened 2 years ago

Indosaram commented 2 years ago

First of all, thank you for the very nice tool. This is exactly what I've thought of.

I wonder if I can run a rustfmt or clippy test with each rust code snippet. If it's not possible out of the box, is there any way I can access generated .rs files?

djc commented 2 years ago

I'm only doing minimal maintenance on this project (since its original maintainer hasn't had time for it) and am not even currently using it myself. There is not currently a way to run rustfmt or clippy against it, but I'd be happy to review your PR if you want to add it (or answer your questions).