Cargo Features

[dependencies]
darkfi-serial = { version = "0.4.2", default-features = false, features = ["derive", "async", "collections", "crypto", "hash", "semver", "url", "num-bigint"] }
default = derive, semver

These default features are set whenever darkfi-serial is added without default-features = false somewhere in the dependency tree.

derive default = darkfi-derive
async = async-trait, futures-lite

Enables async of darkfi-derive

collections crypto?
crypto = bridgetree, collections, hash, pasta_curves
hash crypto? = blake3

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.

darkfi-derive async? derive
futures-lite async?
async-trait async?
blake3 hash?

Enables blake3

Supported types for encoding

bridgetree crypto?
pasta_curves crypto?
semver default
url implicit feature

Enables url

url:

URL library for Rust, based on the WHATWG URL Standard

num-bigint implicit feature

Enables num-bigint

num-bigint:

Big integer implementation for Rust