Cargo Features

[dependencies]
oc-wasm-futures = { version = "0.12.1", default-features = false, features = ["alloc", "proper-waker"] }
default = alloc, proper-waker

These default features are set whenever oc-wasm-futures is added without default-features = false somewhere in the dependency tree.

alloc default proper-waker

Enable this if you want to use a Vec<u8> as your scratch buffer rather than using a fixed-size slice or providing your own customer Buffer implementation.

Enables alloc of minicbor ^0.21

proper-waker default = alloc

Disable this if your executor passes a dummy waker (that doesn’t do anything)
and always polls every task to get a smaller sleep module.