Would you consider allowing a single-threaded approach where rayon/multithreading could be disabled by means of a feature flag?
My underlying use case would be that multithreading is unsupported for the regular WebAssembly target.
For the WebAssembly use case specifically, the alternative would be using a rayon adapter relying on SharedArrayBuffers and Rust nightly (https://github.com/RReverser/wasm-bindgen-rayon). Although that requires nightly Rust and specific headers (when embedding on websites), so that may be a bit much.
Would you consider allowing a single-threaded approach where
rayon/multithreading could be disabled by means of a feature flag?My underlying use case would be that multithreading is unsupported for the regular WebAssembly target.
For the WebAssembly use case specifically, the alternative would be using a
rayonadapter relying onSharedArrayBuffersand Rust nightly (https://github.com/RReverser/wasm-bindgen-rayon). Although that requires nightly Rust and specific headers (when embedding on websites), so that may be a bit much.