Rather than having a feature to enable to work on wasm, and then erroring out on wasm targets if that feature isn't enabled, please consider making those dependencies target-specific instead (or in addition), so that it never gets pulled in on non-wasm targets.