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.
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 theCARGO_TARGET_DIR
environment variable orbuild.target_dir
config value, and output the docset there.Closes #24