Update Cargo.toml
Avoid docs.rs build failures like https://docs.rs/crate/embassy-rp/0.3.0/builds/1609962
This commit is contained in:
parent
51d87c6603
commit
f2128a2953
@ -20,7 +20,9 @@ flavors = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[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]
|
[features]
|
||||||
default = [ "rt" ]
|
default = [ "rt" ]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user