Skip to content

Commit f72f2ee

Browse files
committed
Relax regex version constraint
This increases the MSRV to 1.65 Closes #55
1 parent f2e9559 commit f72f2ee

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/sqlformat.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- latest-nightly
2121
include:
2222
- conf: minimum
23-
toolchain: 1.62.0
23+
toolchain: 1.65.0
2424
- conf: latest-stable
2525
toolchain: stable
2626
- conf: latest-beta
@@ -55,13 +55,13 @@ jobs:
5555
with:
5656
token: ${{ secrets.GITHUB_TOKEN }}
5757
args: -- -D warnings
58-
# FIXME: criterion and its dependencies require a newer version than 1.62, but it is only used for benchmarks.
58+
# FIXME: criterion and its dependencies require a newer version than 1.65, but it is only used for benchmarks.
5959
# Is there a way to not have criterion built when we run tests?
6060
- name: Run cargo check
61-
if: matrix.toolchain == '1.62.0'
61+
if: matrix.toolchain == '1.65.0'
6262
run: cargo check
6363
- name: Run tests
64-
if: matrix.toolchain != '1.62.0'
64+
if: matrix.toolchain != '1.65.0'
6565
run: cargo test
6666
- name: Build benchmarks
6767
if: matrix.toolchain == 'stable'

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "sqlformat"
33
version = "0.3.0"
44
authors = ["Josh Holmer <[email protected]>"]
55
edition = "2021"
6-
rust-version = "1.62"
6+
rust-version = "1.65"
77
license = "MIT OR Apache-2.0"
88
homepage = "https://github.com/shssoichiro/sqlformat-rs"
99
repository = "https://github.com/shssoichiro/sqlformat-rs"
@@ -16,7 +16,7 @@ categories = ["development-tools"]
1616
nom = "7.0.0"
1717
unicode_categories = "0.1.1"
1818
once_cell = "1"
19-
regex = "=1.6"
19+
regex = "1.6"
2020

2121
[dev-dependencies]
2222
criterion = "0.4"

0 commit comments

Comments
 (0)