Skip to content

Commit f422a07

Browse files
committed
async: Add feature(generic_associated_types)], fix CI
1 parent 73c54d9 commit f422a07

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

.github/workflows/clippy-async.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on:
2+
push:
3+
branches: [ staging, trying, master ]
4+
pull_request:
5+
6+
name: Clippy check
7+
jobs:
8+
clippy_check-async:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions-rs/toolchain@v1
13+
with:
14+
profile: minimal
15+
toolchain: nightly
16+
override: true
17+
components: clippy
18+
- run: cargo clippy
19+
working-directory: embedded-hal-async

.github/workflows/clippy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,3 @@ jobs:
1818
- uses: actions-rs/clippy-check@v1
1919
with:
2020
token: ${{ secrets.GITHUB_TOKEN }}
21-
- run: cargo clippy
22-
working-directory: embedded-hal-async

embedded-hal-async/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
1010
#![deny(missing_docs)]
1111
#![no_std]
12+
#![feature(generic_associated_types)]

0 commit comments

Comments
 (0)