Merge pull request #3808 from embassy-rs/jamesmunns-patch-1

Set embassy-rp target in docs-rs metadata
This commit is contained in:
Dario Nieuwenhuis 2025-01-26 15:32:59 +00:00 committed by GitHub
commit ef78441ec1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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" ]