aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2024-01-11 23:16:28 +0100
committerDario Nieuwenhuis <[email protected]>2024-01-11 23:17:02 +0100
commit53049943639d4493a49b0de408c653a0124ca61e (patch)
tree3507f4d83906debf81b058b07765637ba3ded43a
parent22197320ff5dcef6cdc692a4c556ea9eae270074 (diff)
Add docs.rs metadata to all crates.
-rw-r--r--cyw43/Cargo.toml3
-rw-r--r--embassy-embedded-hal/Cargo.toml3
-rw-r--r--embassy-net-adin1110/Cargo.toml3
-rw-r--r--embassy-net-enc28j60/Cargo.toml4
-rw-r--r--embassy-net-esp-hosted/Cargo.toml3
-rw-r--r--embassy-net-ppp/Cargo.toml3
-rw-r--r--embassy-net-wiznet/Cargo.toml3
-rw-r--r--embassy-nrf/Cargo.toml3
-rw-r--r--embassy-rp/Cargo.toml3
-rw-r--r--embassy-stm32-wpan/Cargo.toml3
-rw-r--r--embassy-stm32/Cargo.toml3
-rw-r--r--embassy-usb-driver/Cargo.toml3
-rw-r--r--embassy-usb/Cargo.toml3
13 files changed, 40 insertions, 0 deletions
diff --git a/cyw43/Cargo.toml b/cyw43/Cargo.toml
index ac3122d41..20bb039a9 100644
--- a/cyw43/Cargo.toml
+++ b/cyw43/Cargo.toml
@@ -31,3 +31,6 @@ src_base = "https://github.com/embassy-rs/embassy/blob/cyw43-v$VERSION/cyw43/src
31src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/cyw43/src/" 31src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/cyw43/src/"
32target = "thumbv6m-none-eabi" 32target = "thumbv6m-none-eabi"
33features = ["defmt", "firmware-logs"] 33features = ["defmt", "firmware-logs"]
34
35[package.metadata.docs.rs]
36features = ["defmt", "firmware-logs"]
diff --git a/embassy-embedded-hal/Cargo.toml b/embassy-embedded-hal/Cargo.toml
index 4c3d677be..c525f13fc 100644
--- a/embassy-embedded-hal/Cargo.toml
+++ b/embassy-embedded-hal/Cargo.toml
@@ -11,6 +11,9 @@ src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-embed
11features = ["std"] 11features = ["std"]
12target = "x86_64-unknown-linux-gnu" 12target = "x86_64-unknown-linux-gnu"
13 13
14[package.metadata.docs.rs]
15features = ["std"]
16
14[features] 17[features]
15std = [] 18std = []
16time = ["dep:embassy-time"] 19time = ["dep:embassy-time"]
diff --git a/embassy-net-adin1110/Cargo.toml b/embassy-net-adin1110/Cargo.toml
index 9b298beb9..e007e48cd 100644
--- a/embassy-net-adin1110/Cargo.toml
+++ b/embassy-net-adin1110/Cargo.toml
@@ -37,3 +37,6 @@ src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-adin1110-v$VE
37src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-adin1110/src/" 37src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-adin1110/src/"
38target = "thumbv7em-none-eabi" 38target = "thumbv7em-none-eabi"
39features = ["defmt"] 39features = ["defmt"]
40
41[package.metadata.docs.rs]
42features = ["defmt"]
diff --git a/embassy-net-enc28j60/Cargo.toml b/embassy-net-enc28j60/Cargo.toml
index 9cfb30e3f..92d18e38f 100644
--- a/embassy-net-enc28j60/Cargo.toml
+++ b/embassy-net-enc28j60/Cargo.toml
@@ -21,3 +21,7 @@ log = { version = "0.4.14", optional = true }
21src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-enc28j60-v$VERSION/embassy-net-enc28j60/src/" 21src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-enc28j60-v$VERSION/embassy-net-enc28j60/src/"
22src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-enc28j60/src/" 22src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-enc28j60/src/"
23target = "thumbv7em-none-eabi" 23target = "thumbv7em-none-eabi"
24features = ["defmt"]
25
26[package.metadata.docs.rs]
27features = ["defmt"]
diff --git a/embassy-net-esp-hosted/Cargo.toml b/embassy-net-esp-hosted/Cargo.toml
index ff7c43023..7d268a8bb 100644
--- a/embassy-net-esp-hosted/Cargo.toml
+++ b/embassy-net-esp-hosted/Cargo.toml
@@ -27,3 +27,6 @@ src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-esp-hosted-v$
27src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-esp-hosted/src/" 27src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-esp-hosted/src/"
28target = "thumbv7em-none-eabi" 28target = "thumbv7em-none-eabi"
29features = ["defmt"] 29features = ["defmt"]
30
31[package.metadata.docs.rs]
32features = ["defmt"]
diff --git a/embassy-net-ppp/Cargo.toml b/embassy-net-ppp/Cargo.toml
index 33e05227d..1ec8410c8 100644
--- a/embassy-net-ppp/Cargo.toml
+++ b/embassy-net-ppp/Cargo.toml
@@ -26,3 +26,6 @@ src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-ppp-v$VERSION
26src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-ppp/src/" 26src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-ppp/src/"
27target = "thumbv7em-none-eabi" 27target = "thumbv7em-none-eabi"
28features = ["defmt"] 28features = ["defmt"]
29
30[package.metadata.docs.rs]
31features = ["defmt"]
diff --git a/embassy-net-wiznet/Cargo.toml b/embassy-net-wiznet/Cargo.toml
index 8157bf115..4c1447508 100644
--- a/embassy-net-wiznet/Cargo.toml
+++ b/embassy-net-wiznet/Cargo.toml
@@ -21,3 +21,6 @@ src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-wiznet-v$VERS
21src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-wiznet/src/" 21src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-wiznet/src/"
22target = "thumbv7em-none-eabi" 22target = "thumbv7em-none-eabi"
23features = ["defmt"] 23features = ["defmt"]
24
25[package.metadata.docs.rs]
26features = ["defmt"]
diff --git a/embassy-nrf/Cargo.toml b/embassy-nrf/Cargo.toml
index 0be514e79..712cfb56f 100644
--- a/embassy-nrf/Cargo.toml
+++ b/embassy-nrf/Cargo.toml
@@ -15,6 +15,9 @@ flavors = [
15 { regex_feature = "nrf91.*", target = "thumbv8m.main-none-eabihf" }, 15 { regex_feature = "nrf91.*", target = "thumbv8m.main-none-eabihf" },
16] 16]
17 17
18[package.metadata.docs.rs]
19features = ["nrf52840", "time", "defmt", "unstable-pac", "gpiote", "time-driver-rtc1"]
20
18[features] 21[features]
19default = ["rt"] 22default = ["rt"]
20## Cortex-M runtime (enabled by default) 23## Cortex-M runtime (enabled by default)
diff --git a/embassy-rp/Cargo.toml b/embassy-rp/Cargo.toml
index 2cc62e314..16d55182a 100644
--- a/embassy-rp/Cargo.toml
+++ b/embassy-rp/Cargo.toml
@@ -12,6 +12,9 @@ flavors = [
12 { name = "rp2040", target = "thumbv6m-none-eabi" }, 12 { name = "rp2040", target = "thumbv6m-none-eabi" },
13] 13]
14 14
15[package.metadata.docs.rs]
16features = ["defmt", "unstable-pac", "time-driver"]
17
15[features] 18[features]
16default = [ "rt" ] 19default = [ "rt" ]
17## Enable the RP runtime. 20## Enable the RP runtime.
diff --git a/embassy-stm32-wpan/Cargo.toml b/embassy-stm32-wpan/Cargo.toml
index 1f699141f..143eea019 100644
--- a/embassy-stm32-wpan/Cargo.toml
+++ b/embassy-stm32-wpan/Cargo.toml
@@ -10,6 +10,9 @@ src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-stm32
10target = "thumbv7em-none-eabihf" 10target = "thumbv7em-none-eabihf"
11features = ["stm32wb55rg"] 11features = ["stm32wb55rg"]
12 12
13[package.metadata.docs.rs]
14features = ["stm32wb55rg"]
15
13[dependencies] 16[dependencies]
14embassy-stm32 = { version = "0.1.0", path = "../embassy-stm32" } 17embassy-stm32 = { version = "0.1.0", path = "../embassy-stm32" }
15embassy-sync = { version = "0.5.0", path = "../embassy-sync" } 18embassy-sync = { version = "0.5.0", path = "../embassy-sync" }
diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml
index 171b1d477..98292af79 100644
--- a/embassy-stm32/Cargo.toml
+++ b/embassy-stm32/Cargo.toml
@@ -31,6 +31,9 @@ flavors = [
31 { regex_feature = "stm32wl.*", target = "thumbv7em-none-eabi" }, 31 { regex_feature = "stm32wl.*", target = "thumbv7em-none-eabi" },
32] 32]
33 33
34[package.metadata.docs.rs]
35features = ["defmt", "unstable-pac", "exti", "time-driver-any", "time", "stm32h755zi-cm7"]
36
34[dependencies] 37[dependencies]
35embassy-sync = { version = "0.5.0", path = "../embassy-sync" } 38embassy-sync = { version = "0.5.0", path = "../embassy-sync" }
36embassy-time = { version = "0.3.0", path = "../embassy-time", optional = true } 39embassy-time = { version = "0.3.0", path = "../embassy-time", optional = true }
diff --git a/embassy-usb-driver/Cargo.toml b/embassy-usb-driver/Cargo.toml
index d658f9ec7..460cb306a 100644
--- a/embassy-usb-driver/Cargo.toml
+++ b/embassy-usb-driver/Cargo.toml
@@ -12,5 +12,8 @@ src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb-d
12features = ["defmt"] 12features = ["defmt"]
13target = "thumbv7em-none-eabi" 13target = "thumbv7em-none-eabi"
14 14
15[package.metadata.docs.rs]
16features = ["defmt"]
17
15[dependencies] 18[dependencies]
16defmt = { version = "0.3", optional = true } 19defmt = { version = "0.3", optional = true }
diff --git a/embassy-usb/Cargo.toml b/embassy-usb/Cargo.toml
index e6e6b1954..029754e73 100644
--- a/embassy-usb/Cargo.toml
+++ b/embassy-usb/Cargo.toml
@@ -10,6 +10,9 @@ src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb/s
10features = ["defmt", "usbd-hid"] 10features = ["defmt", "usbd-hid"]
11target = "thumbv7em-none-eabi" 11target = "thumbv7em-none-eabi"
12 12
13[package.metadata.docs.rs]
14features = ["defmt", "usbd-hid"]
15
13[features] 16[features]
14defmt = ["dep:defmt", "embassy-usb-driver/defmt"] 17defmt = ["dep:defmt", "embassy-usb-driver/defmt"]
15usbd-hid = ["dep:usbd-hid", "dep:ssmarshal"] 18usbd-hid = ["dep:usbd-hid", "dep:ssmarshal"]