Cargo Features

[dependencies]
forest_message = { version = "0.7.2", default-features = false, features = ["blst", "pairing", "json", "proofs"] }
default = blst

The blst feature is set by default whenever forest_message is added without default-features = false somewhere in the dependency tree.

blst default

Enables blst of forest_crypto

pairing

Enables pairing of forest_crypto

json = base64, forest_json_utils

Enables json of forest_cid, forest_crypto, and forest_bigint

Affects message_receipt::json, signed_message::json, unsigned_message::json

proofs = fil_types

TODO try to prune out this dependency before releasing

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.

base64 json?

Enables base64 ^0.13

forest_json_utils json?
fil_types proofs?

Enables fil_types ^0.1