embassy-docs fixes.

This commit is contained in:
Dario Nieuwenhuis 2022-08-15 15:42:48 +02:00
parent 6ffca81a38
commit f53367d8ba
2 changed files with 11 additions and 1 deletions

View file

@ -3,6 +3,16 @@ name = "embassy-embedded-hal"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-embedded-hal-v$VERSION/embassy-embedded-hal/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-embedded-hal/src/"
features = ["nightly"]
flavors = [
{ name = "default", target = "x86_64-unknown-linux-gnu", features = ["std"] },
]
[features] [features]
std = [] std = []
# Enable nightly-only features # Enable nightly-only features

View file

@ -6,7 +6,7 @@ edition = "2021"
[package.metadata.embassy_docs] [package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-hid-v$VERSION/embassy-usb-hid/src/" src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-hid-v$VERSION/embassy-usb-hid/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb-hid/src/" src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb-hid/src/"
features = ["defmt", "embassy-executor/time-tick-1mhz"] features = ["defmt"]
flavors = [ flavors = [
{ name = "default", target = "thumbv7em-none-eabihf" }, { name = "default", target = "thumbv7em-none-eabihf" },
] ]