Cargo Features
StrictTypes has no features set by default.
[dependencies]
strict_types = { version = "2.8.0", features = ["all", "armor", "serde", "getrandom", "rand"] }
- all = armor, serde
- armor all? = ascii-armor
-
Required by std-stl and strict-stl binaries
- serde all? = serde_json, serde_yaml, toml
-
Enables serde, serde of strict_encoding, serde of amplify and indexmap
Affects
value::convert
…
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.
- ascii-armor armor?
- serde_json serde?
- serde_yaml serde?
- toml serde?
- getrandom wasm32 implicit feature
-
Enables getrandom
getrandom:
A small cross-platform library for retrieving random data from system source
- rand wasm32 implicit feature
-
Enables rand
rand:
Random number generators and other randomness functionality