Cargo Features
[dependencies]
scsys-util = { version = "0.2.4", default-features = false, features = ["full", "alloc", "json", "rand", "rng", "serde", "std", "wasi", "wasm"] }
- default full? = std
-
The
std
feature is set by default wheneverscsys-util
is added without
somewhere in the dependency tree.default-features = false - full = default, json, rand, serde
- alloc json? std
-
******* [FF] Dependencies *******
Enables alloc of num and optional serde
num:
shared
- json full? = alloc, serde
-
Enables serde_json
- rand full? = rng
- rng rand?
-
Enables getrandom, small_rng and thread_rng of optional rand
- serde full? json?
-
Enables serde and serde_derive, serde of num and optional rand
- std default = alloc
-
******* [FF] Environment *******
Enables std of num, std and std_rng of optional rand, std of strum and optional serde
- wasi
- wasm
-
Enables wasm_js of optional getrandom
getrandom:
Optional backend: wasm_js
This flag enables the backend but does not select it. To use the backend, use this flag *and* set getrandom_backend=wasm_js (see README).
WARNING: It is highly recommended to enable this feature only for binary crates and tests,
i.e. avoid unconditionally enabling it in library crates.