Cargo Features
[dependencies]
frost-core = { version = "1.0.0", default-features = false, features = ["internals", "serde", "serialization", "test-impl", "cheater-detection"] }
- default = cheater-detection, serialization
-
These default features are set whenever
frost-core
is added without
somewhere in the dependency tree.default-features = false - internals
-
## Features
Expose internal types, which do not have SemVer guarantees. This is an advanced feature which can be useful if you need to build a modified version of FROST.
The docs won't list them, you will need to check the source code. - serde serialization
-
Enable
serde
support for types that need to be communicated. You can useserde
to serialize structs with any encoder that supportsserde
(e.g. JSON withserde_json
). - serialization default = serde
-
Enables postcard
- test-impl = criterion, proptest, serde_json
-
Exposes ciphersuite-generic tests for other crates to use
- cheater-detection default
-
Enable cheater detection
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.