Cargo Features
[dependencies]
frost-core = { version = "3.0.0-rc.0", default-features = false, features = ["internals", "serde", "serialization", "test-impl"] }
- default = serialization
-
The
serializationfeature is set by default wheneverfrost-coreis added withoutsomewhere 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
serdesupport for types that need to be communicated. You can useserdeto serialize structs with any encoder that supportsserde(e.g. JSON withserde_json).Enables serde and serdect ^0.2.0
- serialization default = serde
-
Enables postcard
Affects
refresh::check_refresh_shares_with_dealer_serialisation… - test-impl
-
Exposes ciphersuite-generic tests for other crates to use
Enables criterion ^0.6, debugless-unwrap, proptest, serde_json, and tokio
proptest:
Test dependencies used with the test-impl feature