Skip to content

Commit fcdb55f

Browse files
committed
feat: Update MSRV to 1.65.0
1 parent a75d1ca commit fcdb55f

File tree

2 files changed

+48
-48
lines changed

2 files changed

+48
-48
lines changed

.github/workflows/check.yml

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Check
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: ["master"]
66
pull_request:
7-
branches: [ "master" ]
7+
branches: ["master"]
88

99
env:
1010
CARGO_TERM_COLOR: always
@@ -14,59 +14,59 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v3
18-
- name: Cargo Target Cache
19-
uses: actions/cache@v3
20-
with:
21-
path: target
22-
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('**/Cargo.lock') }}
23-
restore-keys: |
24-
${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}
25-
${{ runner.os }}-cargo-target
26-
- name: Build
27-
run: cargo build --verbose --all --all-features
28-
- name: Run tests
29-
run: cargo test --verbose --all --all-features
17+
- uses: actions/checkout@v3
18+
- name: Cargo Target Cache
19+
uses: actions/cache@v3
20+
with:
21+
path: target
22+
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('**/Cargo.lock') }}
23+
restore-keys: |
24+
${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}
25+
${{ runner.os }}-cargo-target
26+
- name: Build
27+
run: cargo build --verbose --all --all-features
28+
- name: Run tests
29+
run: cargo test --verbose --all --all-features
3030

3131
msrv:
3232
runs-on: ubuntu-latest
33-
33+
3434
strategy:
3535
matrix:
36-
rust: ["1.64.0"]
36+
rust: ["1.65.0"]
3737

3838
steps:
39-
- uses: actions/checkout@v3
40-
- name: Cargo Target Cache
41-
uses: actions/cache@v3
42-
with:
43-
path: target
44-
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('**/Cargo.lock') }}
45-
restore-keys: |
46-
${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}
47-
${{ runner.os }}-cargo-target
48-
- name: Install Rust
49-
run: |
50-
rustup toolchain install ${{ matrix.rust }}
51-
rustup default ${{ matrix.rust }}
52-
rustup component add rustfmt
53-
- name: Build
54-
run: cargo build --verbose
39+
- uses: actions/checkout@v3
40+
- name: Cargo Target Cache
41+
uses: actions/cache@v3
42+
with:
43+
path: target
44+
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('**/Cargo.lock') }}
45+
restore-keys: |
46+
${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}
47+
${{ runner.os }}-cargo-target
48+
- name: Install Rust
49+
run: |
50+
rustup toolchain install ${{ matrix.rust }}
51+
rustup default ${{ matrix.rust }}
52+
rustup component add rustfmt
53+
- name: Build
54+
run: cargo build --verbose
5555

5656
clippy_and_fmt:
5757
runs-on: ubuntu-latest
5858

5959
steps:
60-
- uses: actions/checkout@v3
61-
- name: Cargo Target Cache
62-
uses: actions/cache@v3
63-
with:
64-
path: target
65-
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('**/Cargo.lock') }}
66-
restore-keys: |
67-
${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}
68-
${{ runner.os }}-cargo-target
69-
- name: Clippy
70-
run: cargo clippy --verbose --all --all-features -- -D warnings
71-
- name: Rustfmt
72-
run: cargo fmt --verbose --all -- --check
60+
- uses: actions/checkout@v3
61+
- name: Cargo Target Cache
62+
uses: actions/cache@v3
63+
with:
64+
path: target
65+
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('**/Cargo.lock') }}
66+
restore-keys: |
67+
${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}
68+
${{ runner.os }}-cargo-target
69+
- name: Clippy
70+
run: cargo clippy --verbose --all --all-features -- -D warnings
71+
- name: Rustfmt
72+
run: cargo fmt --verbose --all -- --check

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ members = [".", "xim-ctext", "xim-gen", "xim-parser"]
44
[package]
55
name = "xim"
66
description = "XIM protocol parser, handler"
7-
version = "0.4.0"
7+
version = "0.5.0"
88
authors = ["Riey <[email protected]>"]
99
repository = "https://github.com/Riey/xim-rs"
1010
documentation = "https://docs.rs/xim"
@@ -13,7 +13,7 @@ readme = "README.md"
1313
keywords = ["x11", "xim", "x11rb", "no-std"]
1414
edition = "2018"
1515
license = "MIT"
16-
rust-version = "1.64"
16+
rust-version = "1.65"
1717

1818
[features]
1919
default = ["std"]

0 commit comments

Comments
 (0)