Skip to content

Use cargo-rbmt for CI and local testing#113

Open
luisschwab wants to merge 10 commits intomit-dci:mainfrom
luisschwab:ci/cargo-rbmt
Open

Use cargo-rbmt for CI and local testing#113
luisschwab wants to merge 10 commits intomit-dci:mainfrom
luisschwab:ci/cargo-rbmt

Conversation

@luisschwab
Copy link
Copy Markdown
Contributor

Closes #103

Start migration to `cargo-rbmt`:
  - Add `rbmt-version`
  - Update `Cargo.toml`:
    - Add `[package.metadata.rbmt.*]` fields
    - Pin dependencies for MSRV
    - Remove example declarations
  - Update the `justfile` to use `cargo-rbmt` commands
Remove dead benchmark code from `src/*` (untouched for ~3 years);
it wasn't even running on CI and still used the old `Bencher`.

Use `hashbrown::HashMap` and `hashbrown::HashSet` in
the `no_std` prelude, as using it with `default-features = false`
would break `no_std` compilation.
Also:
  - Rename `LICENSE` to `LICENSE.md`
  - Rename `.rustfmt.toml` to `rustfmt.toml`
Stable toolchain: `Cargo-recent.lock`
MSRV toolchain: `Cargo-minimal.lock`
Update and simplify the old, and apparently (vibe)enginereed,
benchmark job to use `cargo-rbmt`.
Improves the Rust CI to use `cargo-rbmt` coupled with a matrix
strategy, now testing these (toolchain, lockfile) pairs:
  - stable + minimal
  - stable + recent
  - nightly + minimal
  - nightly + recent
  - msrv + minimal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move CI and local testing to cargo-rbmt

1 participant