Robzz / cargo-docset

Cargo subcommand to generate a Dash/Zeal docset for your Rust packages.
Apache License 2.0
100 stars 4 forks source link

Fix base directory detection and passing of the `--manifest-path` argument #19

Closed Robzz closed 4 years ago

Robzz commented 4 years ago

This fixes the workspace root directory detection and other directory shenanigans, like assuming we're in the root directory of a crate.

The locate-project cargo subcommand is used to locate the crate manifest, and the metadata subcommand is used to locate the workspace root.

Closes #20