Skip to content

Commit c18e129

Browse files
authored
Merge branch 'cduvray:main' into custom-token-extractors
2 parents b9e7066 + 10a926c commit c18e129

24 files changed

+490
-2535
lines changed

.github/workflows/ci.yml

+42-40
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,66 @@
11
name: ci
2+
env:
3+
MSRV: '1.75'
24
on:
35
push:
46
branches:
57
- main
68
pull_request:
79

810
jobs:
9-
style:
10-
name: Format
11+
check:
1112
runs-on: ubuntu-latest
1213
steps:
13-
- uses: actions/checkout@v3
14-
- name: Install Rust
15-
uses: dtolnay/rust-toolchain@stable
14+
- uses: actions/checkout@v4
15+
- uses: taiki-e/install-action@protoc
16+
- uses: dtolnay/rust-toolchain@beta
1617
with:
17-
components: rustfmt
18-
- name: Check format
19-
run: cargo fmt --check
20-
21-
clippy:
22-
name: Clippy
18+
components: clippy, rustfmt
19+
- uses: Swatinem/rust-cache@v2
20+
- name: clippy
21+
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
22+
- name: rustfmt
23+
run: cargo fmt --all --check
24+
check-docs:
2325
runs-on: ubuntu-latest
2426
steps:
25-
- uses: actions/checkout@v3
26-
- uses: dtolnay/rust-toolchain@stable
27-
with:
28-
components: clippy
29-
- run: cargo clippy --all-targets --all-features -- -D warnings
30-
31-
tests:
32-
name: Tests
33-
runs-on: ${{ matrix.os }}
27+
- uses: actions/checkout@v4
28+
- uses: dtolnay/rust-toolchain@stable
29+
- uses: Swatinem/rust-cache@v2
30+
- name: cargo doc
31+
env:
32+
RUSTDOCFLAGS: "-D rustdoc::all -A rustdoc::private-doc-tests"
33+
run: cargo doc --all-features --no-deps
34+
test-versions:
35+
needs: check
36+
runs-on: ubuntu-latest
3437
strategy:
3538
matrix:
36-
build: [pinned, stable, nightly]
37-
include:
38-
- build: pinned
39-
os: ubuntu-22.04
40-
rust: 1.68.0
41-
- build: stable
42-
os: ubuntu-22.04
43-
rust: stable
44-
- build: nightly
45-
os: ubuntu-22.04
46-
rust: nightly
39+
rust: [stable, beta, nightly]
4740
steps:
48-
- uses: actions/checkout@v3
49-
- name: Install Rust
50-
uses: dtolnay/rust-toolchain@master
41+
- uses: actions/checkout@v4
42+
- uses: dtolnay/rust-toolchain@master
5143
with:
5244
toolchain: ${{ matrix.rust }}
53-
45+
- uses: Swatinem/rust-cache@v2
5446
- name: Build System Info
5547
run: rustc --version
56-
5748
- name: Run tests default features
5849
run: cargo test
59-
60-
- name: Run tests all features
61-
run: cargo test --all-features
62-
6350
- name: Run tests no features
6451
run: cargo test --no-default-features
52+
- name: Run tests all features
53+
run: cargo test --all-features
54+
test-msrv:
55+
needs: check
56+
runs-on: ubuntu-latest
57+
steps:
58+
- uses: actions/checkout@v4
59+
- uses: dtolnay/rust-toolchain@master
60+
with:
61+
toolchain: ${{ env.MSRV }}
62+
- name: "install Rust nightly"
63+
uses: dtolnay/rust-toolchain@nightly
64+
- uses: Swatinem/rust-cache@v2
65+
- name: Run tests all features
66+
run: cargo test --all-features

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
## 0.15.0 (2024-08-26)
11+
12+
- tonic support is back
13+
- CI refactoring
14+
- MSRV is bumped to 75
15+
- minor dependencies updates (commit: d87b7ef90912759b0ad608bfcb7b021bb9c14e14)
16+
1017
## 0.14.0 (2024-01-22)
1118

1219
- update to axum 0.7

0 commit comments

Comments
 (0)