We can do it in the _tag_rust_library() method, right after get_package_info is invoked. get_package_info() verifies that the script is being run in the correct directory.
We can just use the cargo-package command-line call, and we should definitely clean up after "cargo-package" runs. If the packaging step fails, the script should stop.
This way we verify that it is publishable.
We can do it in the _tag_rust_library() method, right after
get_package_info
is invoked.get_package_info()
verifies that the script is being run in the correct directory.We can just use the cargo-package command-line call, and we should definitely clean up after "cargo-package" runs. If the packaging step fails, the script should stop.