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

Support changing the target directory #28

Closed Robzz closed 3 years ago

Robzz commented 3 years ago

Add support for a --target-dir option to override the default target directory. If the option is not supplied, we use the cargo metadata command to retrieve the target directory location in order to respect the CARGO_TARGET_DIR environment variable or build.target_dir config value, and output the docset there.

Closes #24