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 default-features = false somewhere in the dependency tree.

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 use serde to serialize structs with any encoder that supports serde (e.g. JSON with serde_json).

Enables serde and serdect

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.

serde_json test-impl?
criterion test-impl?
proptest test-impl?

Enables proptest

Test dependencies used with the test-impl feature