Cargo Features

[dependencies]
ironfish-reddsa = { version = "0.1.0", default-features = false, features = ["std", "alloc", "nightly", "frost", "serde"] }
std default = alloc, serde, thiserror, zeroize

conditional compilation for serde not complete (issue #9)

Enables std of blake2b_simd and optional frost-rerandomized

default = std

The std feature is set by default whenever ironfish-reddsa is added without default-features = false somewhere in the dependency tree.

alloc frost? std = hex

Affects ironfish-reddsa::batch

nightly
frost = alloc, frost-rerandomized

Affects ironfish-reddsa::frost

serde std

Enables serde and serde of optional frost-rerandomized

frost-rerandomized:

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).

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.

hex alloc?
thiserror std

Enables thiserror ^1.0

frost-rerandomized frost?
zeroize std