Package Rust Code - Create Cargo Package | Online Free DevTools by Hexmos
Package Rust code with Cargo Package for distribution. Easily create distributable `.crate` files and verify package contents. Free online tool, no registration required.
cargo package
Assemble a local package into a distributable tarball (a
.cratefile). Similar tocargo publish --dry-run, but has more options. More information: https://doc.rust-lang.org/cargo/commands/cargo-package.html.
- Perform checks and create a
.cratefile (equivalent ofcargo publish --dry-run):
cargo package
- Display what files would be included in the tarball without actually creating it:
cargo package {{[-l|--list]}}