rust-test-crate --op [add,divide,multiply] --a [NUM] --b [NUM]
To preview the crate documentation
cargo doc --no-deps --open
To locally install all packages
cd rust-test-crate/
cargo build --release
To globally install the binary
cd rust-test-crate/
cargo install --path .
To run locally
./target/release/rust-test-crate --op [add,divide,multiply] --a [NUM] --b [NUM]
To run globally
rust-test-crate --op [add,divide,multiply] --a [NUM] --b [NUM]
Before publishing to crates.io
cargo check
cargo test
cargo package
To publish
cargo publish