Cargo Features

[dependencies]
xand_ledger = { version = "0.62.2", default-features = false, features = ["std", "alloc", "test-helpers"] }
default = std

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

std default = derive_builder, thiserror

Enables std of curve25519-dalek ^2.0.0, rand ^0.7, serde, serde-scale, and zkplmt

rand:

Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.

alloc

Enables alloc of serde

serde:

Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.

test-helpers

Enables test-helpers of zkplmt

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.

derive_builder std

Enables derive_builder ^0.9

thiserror std