Cargo Features
[dependencies]
scsys-core = { version = "0.2.4", default-features = false, features = ["full", "anyhow", "alloc", "chrono", "json", "rand", "rng", "serde", "time", "std", "wasi", "wasm"] }
- default full? = std
-
The
std
feature is set by default wheneverscsys-core
is added without
somewhere in the dependency tree.default-features = false - full = default, rand, serde, time
- anyhow
-
******* [FF] Dependencies *******
Enables anyhow
errors
- alloc json? std
-
Enables alloc of num and optional serde
serde:
Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.
Affects
traits::IdentifierExt
,scsys-core::error
,scsys-core::traits.string
… - chrono time?
-
time
- json = alloc, serde
-
Enables serde_json
- rand full? = rng
-
Enables rand and rand_distr, rand of num
- rng rand?
-
Enables small_rng and thread_rng of optional rand and getrandom
randomization
- serde full? json?
-
Enables serde and serde_derive, serde of num and optional rand
- time full? = chrono
-
Enables time
- std default = alloc
-
******* [FF] Environment *******
Enables std and std_rng of optional rand, std of num and optional anyhow, std of strum, thiserror, and optional serde
- wasi
- wasm