Add more docserver metadata.

This commit is contained in:
Dario Nieuwenhuis 2022-04-05 21:05:09 +02:00
parent f5cf465417
commit aee19185b7
6 changed files with 34 additions and 0 deletions

View file

@ -4,6 +4,15 @@ version = "0.1.0"
authors = ["Ulf Lilleengen <lulf@redhat.com>"] authors = ["Ulf Lilleengen <lulf@redhat.com>"]
edition = "2018" edition = "2018"
[package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-lora-v$VERSION/embassy-lora/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/master/embassy-lora/src/"
features = ["time", "defmt"]
flavors = [
{ name = "sx127x", target = "thumbv7em-none-eabihf", features = ["sx127x", "embassy-stm32/stm32wl55jc-cm4", "embassy-stm32/time-driver-any"] },
{ name = "stm32wl", target = "thumbv7em-none-eabihf", features = ["stm32wl", "embassy-stm32/stm32wl55jc-cm4", "embassy-stm32/time-driver-any"] },
]
[lib] [lib]
[features] [features]

View file

@ -4,6 +4,15 @@ version = "0.1.0"
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"] authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
edition = "2018" edition = "2018"
[package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-v$VERSION/embassy-net/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/master/embassy-net/src/"
features = [ "tcp", "dhcpv4", "medium-ethernet", "medium-ip", "embassy/time", "embassy/time-tick-1mhz"]
flavors = [
{ name = "default", target = "thumbv7em-none-eabihf" },
]
[features] [features]
default = ["pool-4"] default = ["pool-4"]
std = [] std = []

View file

@ -5,6 +5,9 @@ authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
edition = "2018" edition = "2018"
[package.metadata.embassy_docs] [package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-nrf-v$VERSION/embassy-nrf/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/master/embassy-nrf/src/"
features = ["nightly", "defmt", "unstable-pac", "unstable-traits", "gpiote", "time-driver-rtc1"] features = ["nightly", "defmt", "unstable-pac", "unstable-traits", "gpiote", "time-driver-rtc1"]
flavors = [ flavors = [
{ regex_feature = "nrf52.*", target = "thumbv7em-none-eabihf" }, { regex_feature = "nrf52.*", target = "thumbv7em-none-eabihf" },

View file

@ -4,6 +4,14 @@ version = "0.1.0"
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"] authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
edition = "2018" edition = "2018"
[package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-rp-v$VERSION/embassy-rp/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/master/embassy-rp/src/"
features = ["nightly", "defmt", "unstable-pac", "unstable-traits"]
flavors = [
{ name = "rp2040", target = "thumbv6m-none-eabi" },
]
[features] [features]
# Reexport the PAC for the currently enabled chip at `embassy_rp::pac`. # Reexport the PAC for the currently enabled chip at `embassy_rp::pac`.

View file

@ -6,6 +6,9 @@ edition = "2018"
resolver = "2" resolver = "2"
[package.metadata.embassy_docs] [package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-stm32-v$VERSION/embassy-stm32/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/master/embassy-stm32/src/"
# TODO: sdmmc # TODO: sdmmc
# TODO: net # TODO: net
# TODO: subghz # TODO: subghz

View file

@ -6,6 +6,8 @@ edition = "2018"
resolver = "2" resolver = "2"
[package.metadata.embassy_docs] [package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-v$VERSION/embassy/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/master/embassy/src/"
features = ["nightly", "defmt", "unstable-traits", "time", "time-tick-1mhz"] features = ["nightly", "defmt", "unstable-traits", "time", "time-tick-1mhz"]
flavors = [ flavors = [
{ name = "std", target = "x86_64-unknown-linux-gnu", features = ["std"] }, { name = "std", target = "x86_64-unknown-linux-gnu", features = ["std"] },