Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump minimum declared versions of dependencies #404

Merged
merged 2 commits into from Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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