Add docserver metadata.

This commit is contained in:
Dario Nieuwenhuis 2022-04-05 21:03:21 +02:00
parent 2ce435dc34
commit fa9eadcee9
2 changed files with 16 additions and 0 deletions

View File

@ -3,6 +3,14 @@ name = "embassy-usb-serial"
version = "0.1.0"
edition = "2021"
[package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-serial-v$VERSION/embassy-usb-serial/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/master/embassy-usb-serial/src/"
features = ["defmt"]
flavors = [
{ name = "default", target = "thumbv7em-none-eabihf" },
]
[dependencies]
embassy = { version = "0.1.0", path = "../embassy" }
embassy-usb = { version = "0.1.0", path = "../embassy-usb" }

View File

@ -3,6 +3,14 @@ name = "embassy-usb"
version = "0.1.0"
edition = "2021"
[package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-v$VERSION/embassy-usb/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/master/embassy-usb/src/"
features = ["defmt"]
flavors = [
{ name = "default", target = "thumbv7em-none-eabihf" },
]
[dependencies]
embassy = { version = "0.1.0", path = "../embassy" }