Cargo Features

[dependencies]
qukit = { version = "0.0.0-pre5", default-features = false, features = ["std", "safe", "parallel", "wasm-parallel", "wasm-pack"] }
default = std

The std feature is set by default whenever qukit is added without default-features = false somewhere in the dependency tree.

std default

Enables std and std_rng of rand

safe
parallel wasm-parallel? = rayon
wasm-parallel = parallel, wasm-bindgen-rayon
wasm-pack = console_error_panic_hook, js-sys, serde, serde-wasm-bindgen, tsify, wasm-bindgen, wee_alloc

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.

rayon parallel?
wasm-bindgen-rayon wasm-parallel?
serde wasm-pack?
wasm-bindgen wasm-pack?

Affects api::derive_js

tsify wasm-pack?
console_error_panic_hook wasm-pack?
wee_alloc wasm-pack?
js-sys wasm-pack?
serde-wasm-bindgen wasm-pack?