diff options
| author | James Munns <[email protected]> | 2025-01-26 12:53:39 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-01-26 12:53:39 +0100 |
| commit | f2128a2953d5d4aeb96b2ad2c3ac5f060ce1a27a (patch) | |
| tree | abc6e31e46d02bf752cdd7f6f21db1e88843319c /embassy-rp | |
| parent | 51d87c6603631fda6fb59ca1a65a99c08138b081 (diff) | |
Update Cargo.toml
Avoid docs.rs build failures like https://docs.rs/crate/embassy-rp/0.3.0/builds/1609962
Diffstat (limited to 'embassy-rp')
| -rw-r--r-- | embassy-rp/Cargo.toml | 4 |
1 files changed, 3 insertions, 1 deletions
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 = [ | |||
| 20 | ] | 20 | ] |
| 21 | 21 | ||
| 22 | [package.metadata.docs.rs] | 22 | [package.metadata.docs.rs] |
| 23 | features = ["defmt", "unstable-pac", "time-driver"] | 23 | # TODO: it's not GREAT to set a specific target, but docs.rs builds will fail otherwise |
| 24 | # for now, default to rp2040 | ||
| 25 | features = ["defmt", "unstable-pac", "time-driver", "rp2040"] | ||
| 24 | 26 | ||
| 25 | [features] | 27 | [features] |
| 26 | default = [ "rt" ] | 28 | default = [ "rt" ] |
