Skip to content

Commit

Permalink
chore: update MSRV to 1.66
Browse files Browse the repository at this point in the history
Updating unicode-width from 1.13 to 1.14 broken the 1.65 MSRV. The
changes are compatible with 1.66, so just bump the MSRV for now.
  • Loading branch information
vthib committed Oct 10, 2024
1 parent 1f19c15 commit 825aaab
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,13 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

msrv:
name: Rust 1.65.0
name: Rust 1.66.0
runs-on: ubuntu-22.04
env:
RUSTFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v4.1.1
- uses: dtolnay/rust-toolchain@1.65.0
- uses: dtolnay/rust-toolchain@1.66.0
# Only check boreal (and boreal-parser).
# boreal-cli is a useful tool, but MSRV on it is not really useful.
- run: |
Expand Down
4 changes: 0 additions & 4 deletions benches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ glob = "0.3.1"
walkdir = "2.3"
yara = { version = "0.19", features = ["vendored"] }

# Only needed in tests because Mutex::new is not const
# in 1.62 MSRV. Can be remove once MSRV is bumped above it.
once_cell = "1.18"

[[bench]]
name = "boreal"
harness = false
Expand Down
2 changes: 1 addition & 1 deletion boreal-parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ keywords = ["boreal", "yara", "parser"]
categories = ["parser-implementations"]
edition = "2021"
# MSRV
rust-version = "1.65"
rust-version = "1.66"

[dependencies]
# Parsing library
Expand Down
2 changes: 1 addition & 1 deletion boreal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ keywords = ["boreal", "yara", "string-matching", "scan"]
categories = ["text-processing"]
edition = "2021"
# MSRV
rust-version = "1.65"
rust-version = "1.66"
exclude = ["/tests"]

[features]
Expand Down

0 comments on commit 825aaab

Please sign in to comment.