0.1.3 • Published 2 years ago
jims-rust-cli-test v0.1.3
Recreate this project with these steps:
Step 1) Create a new repo
Create a new repo and clone it
Step 2) Create a new rust binary project
This can easily be done with cargo:
cargo new jims-rust-cli-testStep 3) Change the hello message
Open the main.rs file and change the string returned to whatever you like...
Step 4) Adjust Cargo.toml
Add these keys to Cargo.toml (with your desired values):
description = "A cool cli tool test by Jim!"
repository = "https://github.com/JimLynchCodes/jims-rust-to-npm-test"
readme = "README-for-registry.md"
keywords = ["rust-to-npm-cli", "deploy-rust", "npm", "rust", "cli-tool"]
categories = ["command-line-utilities"]
license = "MIT"
homepage = "https://github.com/JimLynchCodes/jims-rust-to-npm-test"
authors = ["Jim Lynch - jim.lynch@evaluates2.com"]Step 5) Account Logins
Login to your crates.io account in your terminal:
cargo loginLogin to your npmjs.com account in your terminal:
npm adduserStep 7) Install
cargo install rust-to-npm-cliOR via npm (but not both)
npm i -g rust-to-npm-cliStep 6) Deploy
rust-to-npm-cli deploy -bStep 7) Re-Deploy
Change the version in Caargo.toml (according to semver) and then repeat step 6.