This removes the embassy-executor-nightly feature and instead guards the fake module behind the test-utils feature. postcard-rpc is added to it's own manifest as a dev-dependency so that this feature can be enabled only for (doc) test.
With these changes I'm able to use the crate in my project that uses nightly. Tests in postcard-rpc compile and run. When I run cargo doc from the source/postcard-rpc folder I get a few warnings about unresolved links but that's unrelated to my changes.
This removes the
embassy-executor-nightly
feature and instead guards thefake
module behind thetest-utils
feature.postcard-rpc
is added to it's own manifest as a dev-dependency so that this feature can be enabled only for (doc) test.With these changes I'm able to use the crate in my project that uses nightly. Tests in
postcard-rpc
compile and run. When I runcargo doc
from thesource/postcard-rpc
folder I get a few warnings about unresolved links but that's unrelated to my changes.