diff --git a/embassy-usb-serial/Cargo.toml b/embassy-usb-serial/Cargo.toml index 16e03046..553f2a13 100644 --- a/embassy-usb-serial/Cargo.toml +++ b/embassy-usb-serial/Cargo.toml @@ -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" } diff --git a/embassy-usb/Cargo.toml b/embassy-usb/Cargo.toml index 01bf5ef6..48c20506 100644 --- a/embassy-usb/Cargo.toml +++ b/embassy-usb/Cargo.toml @@ -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" }