Cargo Features

[dependencies]
aranya-crypto-ffi = { version = "0.1.0", default-features = false, features = ["alloc", "std", "testing"] }
default = alloc

The alloc feature is set by default whenever aranya-crypto-ffi is added without default-features = false somewhere in the dependency tree.

alloc default std? testing?

Enable allocations.

std = alloc

Enable std.

Enables use-std of postcard, std of serde, std of aranya-crypto and aranya-policy-vm

testing = alloc

Enable the testing module.

Enables serde