Skip to content

Commit 46011e2

Browse files
authored
Merge pull request #528 from nyurik/dep-nit
Make Cargo feature explicit
2 parents 6df95fd + 7fa5805 commit 46011e2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/rustdoc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ jobs:
1414
- uses: dtolnay/rust-toolchain@master
1515
with:
1616
toolchain: nightly-2023-10-14
17-
- run: RUSTDOCFLAGS="--deny=warnings --cfg=docsrs" cargo doc --all-features
17+
# tokio/net required to workaround https://github.com/tokio-rs/tokio/issues/6165
18+
- run: RUSTDOCFLAGS="--deny=warnings --cfg=docsrs" cargo doc --all-features --features tokio/net

embedded-hal/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@ readme = "README.md"
1515
repository = "https://github.com/rust-embedded/embedded-hal"
1616
version = "1.0.0-rc.1"
1717

18+
[features]
19+
defmt-03 = ["dep:defmt-03"]
20+
1821
[dependencies]
1922
defmt-03 = { package = "defmt", version = "0.3", optional = true }

0 commit comments

Comments
 (0)