Skip to content

andyjslee/rust-test-crate

Repository files navigation

rust-test-crate

Usage

rust-test-crate --op [add,divide,multiply] --a [NUM] --b [NUM]

Notes

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages