Way
Foundation for all Ampliway services, providing standardization and homologated technologies for use across the entire platform.
Environment Configuration
-
Install Rust
-
Install Tarpaulin (for Code Coverage):
cargo install cargo-tarpaulin
- Install Watch (for real-time updates):
cargo install cargo-watch
-
Install the extension crates
-
Install the extension rust-analyzer
Running tests (on Visual Studio Code)
-
Install the extension Coverage Gutters
-
Go to the menu View > Command Palette
-
Select the option "Coverage Gutters: Display Coverage"
-
Go to the menu View > Command Palette (again)
-
Select the option "Coverage Gutters: Watch"
-
Run the tests:
cargo tarpaulin --out lcov
Release new version
- Install the release-plz cli
cargo install release-plz --locked
- Run release-plz locally after your commit and push
release-plz update