What
Publish project-index to crates.io so it's installable via cargo install project-index.
Steps
- Create an account API token at https://crates.io/me
cargo login — paste the token
cd cli && cargo publish
Notes
- Package metadata is already set in
cli/Cargo.toml (description, license, repository, keywords, categories)
- Version is currently
0.2.0
README.md is referenced as the crate readme via readme = "../README.md" — verify crates.io renders it correctly after publish
- Check name availability before publishing:
project-index should be unclaimed but worth confirming at https://crates.io/crates/project-index
What
Publish
project-indexto crates.io so it's installable viacargo install project-index.Steps
cargo login— paste the tokencd cli && cargo publishNotes
cli/Cargo.toml(description, license, repository, keywords, categories)0.2.0README.mdis referenced as the crate readme viareadme = "../README.md"— verify crates.io renders it correctly after publishproject-indexshould be unclaimed but worth confirming at https://crates.io/crates/project-index