Skip to content

Commit

Permalink
build: remove min version compat
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Oct 29, 2023
1 parent 3cd5d8b commit 0788170
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,22 @@ jobs:
- name: doc tests io-uring
run: |
sudo bash -c "ulimit -Sl 512 && ulimit -Hl 512 && PATH=$PATH:/usr/share/rust/.cargo/bin && RUSTUP_TOOLCHAIN=nightly cargo ci-doctest"
minimal-versions:
name: minimal versions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Rust (nightly)
uses: actions-rust-lang/[email protected]
with:
toolchain: nightly

- name: Install cargo-hack & cargo-minimal-versions
uses: taiki-e/[email protected]
with:
tool: cargo-hack,cargo-minimal-versions

- name: Check With Minimal Versions
run: cargo minimal-versions check
8 changes: 0 additions & 8 deletions actix-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,13 @@ license.workspace = true
edition.workspace = true
rust-version.workspace = true

[package.metadata.cargo-machete]
ignored = [
"proc_macro2", # specified for minimal versions compat
]

[lib]
proc-macro = true

[dependencies]
quote = "1"
syn = { version = "2", features = ["full"] }

# minimal versions compat
proc-macro2 = "1.0.60"

[dev-dependencies]
actix-rt = "2"

Expand Down

0 comments on commit 0788170

Please sign in to comment.