usb-hid: add embassy docs metadata.

This commit is contained in:
Dario Nieuwenhuis 2022-04-13 16:46:24 +02:00
parent 6d0e6d563d
commit 2217de24c0

View File

@ -3,6 +3,14 @@ name = "embassy-usb-hid"
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-usb-hid-v$VERSION/embassy-usb-hid/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/master/embassy-usb-hid/src/"
features = ["defmt", "embassy/time-tick-1mhz"]
flavors = [
{ name = "default", target = "thumbv7em-none-eabihf" },
]
[features] [features]
default = ["usbd-hid"] default = ["usbd-hid"]
usbd-hid = ["dep:usbd-hid", "ssmarshal"] usbd-hid = ["dep:usbd-hid", "ssmarshal"]