rustdoc
rustdoc copied to clipboard
Flag: extern
This issue is part of https://github.com/steveklabnik/rustdoc/issues/125
--extern
: specify a dependency's location
Using this flag looks like this:
$ rustdoc src/lib.rs --extern lazy-static=/path/to/lazy-static
Similar to --library-path
, --extern
is about specifying the location
of a dependency. --library-path
provides directories to search in, --extern
instead lets you specify exactly which dependency is located where.
Should we keep this flag or not?
This is very important!
I don't think this is needed if we depend on cargo. cc #155
That's true; I was thinking in the "cargo calls rustdoc" mode, not "rustdoc calls cargo"