Skip to content

Commit

Permalink
Merge pull request #528 from nyurik/dep-nit
Browse files Browse the repository at this point in the history
Make Cargo feature explicit
  • Loading branch information
Dirbaio authored Nov 25, 2023
2 parents 6df95fd + 7fa5805 commit 46011e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/rustdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2023-10-14
- run: RUSTDOCFLAGS="--deny=warnings --cfg=docsrs" cargo doc --all-features
# tokio/net required to workaround https://github.com/tokio-rs/tokio/issues/6165
- run: RUSTDOCFLAGS="--deny=warnings --cfg=docsrs" cargo doc --all-features --features tokio/net
3 changes: 3 additions & 0 deletions embedded-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@ readme = "README.md"
repository = "https://github.com/rust-embedded/embedded-hal"
version = "1.0.0-rc.1"

[features]
defmt-03 = ["dep:defmt-03"]

[dependencies]
defmt-03 = { package = "defmt", version = "0.3", optional = true }

0 comments on commit 46011e2

Please sign in to comment.