#foundation #service #coverage #update #extension #ampliway

way-lib-rust

foundation for all Ampliway services

3 releases

0.0.3 Apr 8, 2023
0.0.2 Apr 8, 2023
0.0.1 Apr 7, 2023

#31 in #foundation

39 downloads per month

MIT/Apache

14KB
329 lines

Way

Foundation for all Ampliway services, providing standardization and homologated technologies for use across the entire platform.

Environment Configuration

  1. Install Rust

  2. Install Tarpaulin (for Code Coverage):

cargo install cargo-tarpaulin
  1. Install Watch (for real-time updates):
cargo install cargo-watch
  1. Install the extension crates

  2. Install the extension rust-analyzer

Running tests (on Visual Studio Code)

  1. Install the extension Coverage Gutters

  2. Go to the menu View > Command Palette

  3. Select the option "Coverage Gutters: Display Coverage"

  4. Go to the menu View > Command Palette (again)

  5. Select the option "Coverage Gutters: Watch"

  6. Run the tests:

cargo tarpaulin --out lcov

Release new version

  1. Install the release-plz cli
cargo install release-plz --locked
  1. Run release-plz locally after your commit and push
release-plz update

Dependencies

~310–760KB
~13K SLoC