To publish a crate on crates.io, you must log in with Cargo (see 'Connecting Cargo to a Crates.io Account').
You can package and publish your crate with the following commands:
cargo package cargo publish
Any errors in your
Cargo.toml file will be highlighted during this process. You should ensure that you update your version and ensure that your
Cargo.toml file excludes any unwanted files.