Skip to content

Commit

Permalink
fix(build): Close gaps that resulted in lint stage failures
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Aug 16, 2024
1 parent 764adb2 commit 796181a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
args: --verbose --locked --features no-boards -p riot-rs -p riot-rs-boards -p riot-rs-chips -p riot-rs-debug -p riot-rs-embassy -p riot-rs-macros -p riot-rs-random -p riot-rs-rt -p riot-rs-threads -p riot-rs-utils

- name: rustdoc
run: RUSTDOCFLAGS='-D warnings' cargo doc -p riot-rs --features no-boards,bench,external-interrupts,threading,random,csprng,hwrng,coap
run: RUSTDOCFLAGS='-D warnings' cargo doc -p riot-rs --features no-boards,bench,external-interrupts,threading,random,csprng,hwrng,coap,net,usb-ethernet

- name: rustfmt
run: cargo fmt --check --all
Expand Down
2 changes: 1 addition & 1 deletion src/riot-rs-coap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repository.workspace = true
[dependencies]
coapcore.path = "../lib/coapcore"
riot-rs-random = { path = "../riot-rs-random", features = ["csprng"] }
riot-rs-embassy.path = "../riot-rs-embassy"
riot-rs-embassy = { path = "../riot-rs-embassy", features = ["udp"] }

# actually patched with https://github.com/smoltcp-rs/smoltcp/pull/904 but
# patch.crates-io takes care of that
Expand Down
4 changes: 4 additions & 0 deletions src/riot-rs-embassy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,7 @@ defmt = [
# usb peripheral support.
stm32-usb = []
stm32-usb-synopsis = []

# Made available so that downsteram crates such as riot-rs-coap don't need to
# pull in embassy-net just to enable a feature they use through a pub-use.
udp = ["net", "embassy-net/udp"]

0 comments on commit 796181a

Please sign in to comment.