Cargo Features

wasm-rs-async-executor has no features set by default.

[dependencies]
wasm-rs-async-executor = { version = "0.9.0", features = ["debug", "cooperative", "cooperative-browser", "requestIdleCallback"] }
debug

Affects single_threaded::TypeInfo

cooperative cooperative-browser? = js-sys, pin-project, wasm-bindgen

Affects single_threaded::block_on

cooperative-browser requestIdleCallback? = cooperative
requestIdleCallback = cooperative-browser

Experimental: https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback

Enables IdleDeadline of web-sys

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

pin-project cooperative?
js-sys wasm32-unknown-unknown cooperative?
wasm-bindgen wasm32-unknown-unknown cooperative?
web-sys wasm32-unknown-unknown requestIdleCallback?