From db7e153fc012aff0cc2c6529d5d26a3d184051a8 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Wed, 23 Nov 2022 14:49:40 +0100 Subject: [PATCH] executor: enable features for docs.rs Otherwise the non-raw executor and the macros don't show up. --- embassy-executor/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml index 6fa1dd7f..5acad95e 100644 --- a/embassy-executor/Cargo.toml +++ b/embassy-executor/Cargo.toml @@ -27,6 +27,9 @@ flavors = [ { name = "thumbv8m.main-none-eabihf", target = "thumbv8m.main-none-eabihf", features = [] }, ] +[package.metadata.docs.rs] +features = ["std", "nightly", "defmt"] + [features] default = [] std = ["critical-section/std"]