Crates.io | cargo-prepublish |
lib.rs | cargo-prepublish |
version | 0.1.5 |
source | src |
created_at | 2023-02-10 16:46:52.498442 |
updated_at | 2023-02-20 14:36:59.565285 |
description | A cargo plugin to help prepare a crate for publishing to Crates.io |
homepage | https://github.com/ZimboPro/cargo-prepublish |
repository | https://github.com/ZimboPro/cargo-prepublish |
max_upload_size | |
id | 781989 |
size | 41,381 |
A Cargo plugin to help setup and prepare a Crate before publishing.
It reads your cargo.toml file and based on the values not present it will either set defaults or prompt you for input.
Some of the prompts will be required and others optional.
Git is required to be installed as tool uses the command line to run git
commands.
cargo install cargo-prepublish
# To make changes to the Cargo.toml file
cargo prepublish
# To make changes to the Cargo.toml file with just the defaults and not interactivity
cargo prepublish -n
# OR
cargo prepublish --non-interactive
# To check if the Cargo.toml is valid
cargo prepublish -v
# OR
cargo prepublish --valid
It checks the following
Any contributions are welcome. If you find a bug, have a suggestion or feature request, please open a issue.