Skip to content

Commit

Permalink
Merge pull request #404 from dextero/minimum-versions
Browse files Browse the repository at this point in the history
Bump minimum declared versions of dependencies
  • Loading branch information
KodrAus committed Mar 24, 2024
2 parents aa84edf + 4b535a7 commit 393be7b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/rust.yml
Expand Up @@ -38,6 +38,20 @@ jobs:
- name: Smoke test
run: cargo run --manifest-path tests/smoke-test/Cargo.toml

check-minimal:
name: Check minimal versions
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab

- name: Install Rust Toolchain
run: rustup default nightly

- name: Check minimal versions
run: cargo check --all --features serde,arbitrary,bytemuck,std,example_generated --all-targets -Z minimal-versions

benches:
name: Benches
runs-on: ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Expand Up @@ -18,18 +18,18 @@ A macro to generate structures which behave like bitflags.
exclude = ["/tests", "/.github"]

[dependencies]
serde = { version = "1.0", optional = true, default-features = false }
serde = { version = "1.0.103", optional = true, default-features = false }
arbitrary = { version = "1.0", optional = true }
bytemuck = { version = "1.0", optional = true }
bytemuck = { version = "1.12", optional = true }
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
compiler_builtins = { version = "0.1.2", optional = true }

[dev-dependencies]
trybuild = "1.0"
trybuild = "1.0.18"
rustversion = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
serde_test = "1.0"
serde_test = "1.0.19"
zerocopy = { version = "0.7", features = ["derive"] }
arbitrary = { version = "1.0", features = ["derive"] }
bytemuck = { version = "1.0", features = ["derive"] }
Expand Down

0 comments on commit 393be7b

Please sign in to comment.