Skip documenting specific crates

As part of my normal workflow I'll often have cargo watch running in the background, continually re-running tests and regenerating docs. The winapi crate takes a stupidly long amount of time to generate docs for, is there a way to tell cargo, "document every crate except X"?

Normally this isn't a problem for me because winapi will be generated once and then we'll skip regenerating docs because it's already in cache. Unfortunately it looks like one of my dependencies is using winapi 0.2.8 instead of the newer 0.3.4 so the cached docs get clobbered every time.

1 Like