Properly test -Zminimal-versions (#2429)

* Properly test `-Zminimal-versions`

* Fix minimal version requirement
This commit is contained in:
daxpedda 2023-08-11 15:32:49 +02:00 committed by GitHub
parent 061d499ddb
commit 24afaa5cfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ jobs:
tool: cargo-hack
# -Z avoid-dev-deps doesn't work
- run: cargo +nightly hack generate-lockfile --remove-dev-deps -Z minimal-versions --offline
- run: cargo +nightly hack generate-lockfile --remove-dev-deps -Z minimal-versions
- name: Test all features
run: cargo +$MSRV clippy --all-features --workspace -- -D warnings

View File

@ -44,8 +44,8 @@ name = "criterion"
harness = false
[dependencies]
arbitrary = { version = "1.0.2", features = ["derive"], optional = true }
bitflags = "2"
arbitrary = { version = "1.3", features = ["derive"], optional = true }
bitflags = "2.2"
bit-set = "0.5"
termcolor = { version = "1.0.4", optional = true }
# remove termcolor dep when updating to the next version of codespan-reporting