Cargo Features

soroban-sdk has no features set by default.

[dependencies]
soroban-sdk = { version = "22.0.0-rc.3.2", features = ["alloc", "hazmat", "docs", "testutils", "curve25519-dalek"] }
alloc
hazmat
docs
testutils

Enables arbitrary ~1.3.0, ctor, derive_arbitrary ~1.3.0, and ed25519-dalek, testutils of soroban-env-host and soroban-sdk-macros

Features from optional dependencies

curve25519-dalek not wasm implicit feature

Enables curve25519-dalek

curve25519-dalek:

A pure-Rust implementation of group operations on ristretto255 and Curve25519