diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-11-23 14:49:40 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-11-23 14:49:40 +0100 |
| commit | db7e153fc012aff0cc2c6529d5d26a3d184051a8 (patch) | |
| tree | 78acee75e209230221279734b855261682bfa0ad | |
| parent | a4f9e7cbcc8cb3ff679b4677a85a06d514b0c465 (diff) | |
executor: enable features for docs.rs
Otherwise the non-raw executor and the macros don't show up.
| -rw-r--r-- | embassy-executor/Cargo.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml index 6fa1dd7fb..5acad95e5 100644 --- a/embassy-executor/Cargo.toml +++ b/embassy-executor/Cargo.toml | |||
| @@ -27,6 +27,9 @@ flavors = [ | |||
| 27 | { name = "thumbv8m.main-none-eabihf", target = "thumbv8m.main-none-eabihf", features = [] }, | 27 | { name = "thumbv8m.main-none-eabihf", target = "thumbv8m.main-none-eabihf", features = [] }, |
| 28 | ] | 28 | ] |
| 29 | 29 | ||
| 30 | [package.metadata.docs.rs] | ||
| 31 | features = ["std", "nightly", "defmt"] | ||
| 32 | |||
| 30 | [features] | 33 | [features] |
| 31 | default = [] | 34 | default = [] |
| 32 | std = ["critical-section/std"] | 35 | std = ["critical-section/std"] |
