How do I get cargo doc to just generate documentation for my own stuff, not every standard crate in use?
-
cargo doc by default does everything public pulled into the project, but not my own private items.
-
cargo doc --workspace does the same thing.
-
cargo doc --package MYPACKAGE --document -private-items includes everything pulled into MYPACKAGE from crates.io
Ideally, I'd like it to handle crates from crates.io by linking to their public documentation, rather than generating a local copy of it. But that doesn't seem to be an option. For now, I'd be content to have it stop re-documenting standard crates. Thanks.