From f2128a2953d5d4aeb96b2ad2c3ac5f060ce1a27a Mon Sep 17 00:00:00 2001 From: James Munns Date: Sun, 26 Jan 2025 12:53:39 +0100 Subject: [PATCH] Update Cargo.toml Avoid docs.rs build failures like https://docs.rs/crate/embassy-rp/0.3.0/builds/1609962 --- embassy-rp/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/embassy-rp/Cargo.toml b/embassy-rp/Cargo.toml index 528d433e1..4e5c66feb 100644 --- a/embassy-rp/Cargo.toml +++ b/embassy-rp/Cargo.toml @@ -20,7 +20,9 @@ flavors = [ ] [package.metadata.docs.rs] -features = ["defmt", "unstable-pac", "time-driver"] +# TODO: it's not GREAT to set a specific target, but docs.rs builds will fail otherwise +# for now, default to rp2040 +features = ["defmt", "unstable-pac", "time-driver", "rp2040"] [features] default = [ "rt" ]