Cargo Features

[dependencies]
rstm-core = { version = "0.0.6", default-features = false, features = ["full", "alloc", "json", "rand", "rng", "serde", "tracing", "std", "wasm"] }
default full? = std

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

full = default, json, rand, serde, tracing
alloc json? std

********* [FF] Dependencies *********

Enables alloc of num and optional serde

json full? = alloc

Enables serde_json

rand full? = rng

Enables rand and rand_distr, rand of num

rng rand?

Enables getrandom, small_rng and thread_rng of optional rand

serde full?

Enables serde_derive, serde of num and derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

tracing full?

Enables attributes of tracing

std default = alloc

********* [FF] Environments *********

Enables std_rng of optional rand, std of strum, thiserror, optional serde, optional serde_json, and optional tracing

Affects state::AnyState

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).