Cargo Features
[dependencies]
frost-core = { version = "2.0.0", default-features = false, features = ["std", "internals", "serde", "serialization", "test-impl", "cheater-detection"] }
- default = cheater-detection, serialization, std
-
These default features are set whenever
frost-core
is added without
somewhere in the dependency tree.default-features = false - std default
-
Features
Enable standard library support.
Enables thiserror
- internals
-
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
-
Exposes ciphersuite-generic tests for other crates to use
Enables criterion, proptest, and serde_json
proptest:
Test dependencies used with the test-impl feature
- cheater-detection default
-
Enable cheater detection