Skip to content

Commit

Permalink
Relax regex version constraint
Browse files Browse the repository at this point in the history
This increases the MSRV to 1.65

Closes #55
  • Loading branch information
shssoichiro committed Nov 1, 2024
1 parent f2e9559 commit f72f2ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/sqlformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- latest-nightly
include:
- conf: minimum
toolchain: 1.62.0
toolchain: 1.65.0
- conf: latest-stable
toolchain: stable
- conf: latest-beta
Expand Down Expand Up @@ -55,13 +55,13 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: -- -D warnings
# FIXME: criterion and its dependencies require a newer version than 1.62, but it is only used for benchmarks.
# FIXME: criterion and its dependencies require a newer version than 1.65, but it is only used for benchmarks.
# Is there a way to not have criterion built when we run tests?
- name: Run cargo check
if: matrix.toolchain == '1.62.0'
if: matrix.toolchain == '1.65.0'
run: cargo check
- name: Run tests
if: matrix.toolchain != '1.62.0'
if: matrix.toolchain != '1.65.0'
run: cargo test
- name: Build benchmarks
if: matrix.toolchain == 'stable'
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "sqlformat"
version = "0.3.0"
authors = ["Josh Holmer <[email protected]>"]
edition = "2021"
rust-version = "1.62"
rust-version = "1.65"
license = "MIT OR Apache-2.0"
homepage = "https://github.com/shssoichiro/sqlformat-rs"
repository = "https://github.com/shssoichiro/sqlformat-rs"
Expand All @@ -16,7 +16,7 @@ categories = ["development-tools"]
nom = "7.0.0"
unicode_categories = "0.1.1"
once_cell = "1"
regex = "=1.6"
regex = "1.6"

[dev-dependencies]
criterion = "0.4"
Expand Down

0 comments on commit f72f2ee

Please sign in to comment.