Cargo Features
[dependencies]
strict_types = { version = "2.8.3", default-features = false, features = ["all", "armor", "vesper", "stl", "serde", "getrandom", "rand"] }
- default = vesper
-
For backwards compatiblity. Remove this on the next major version update.
- all = armor, serde, stl, vesper
- armor all? stl? = ascii-armor
- vesper default all? stl?
-
Enables vesper-lang
Affects
layout::vesper
…Required by the strict-vesper binary
- stl all? = armor, vesper
-
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 ^0.2
getrandom:
A small cross-platform library for retrieving random data from system source
- rand wasm32 implicit feature
-
Enables rand ^0.8.4
rand:
Random number generators and other randomness functionality