Cargo Features

Rayon-core has no features set by default.

[dependencies]
rayon-core = { version = "1.12.1", features = ["web_spin_lock"] }
web_spin_lock

This feature switches to a spin-lock implementation on the browser's main thread to avoid the forbidden atomics.wait.

Only useful on the wasm32-unknown-unknown target.

Enables wasm_sync

Features from optional dependencies

Some dependencies may not be their latest version, in order to support older rustc.