Cargo Features

[dependencies]
sp1-zkvm = { version = "4.0.1", default-features = false, features = ["embedded", "libm", "lib", "verify", "bump"] }
default = bump, lib, libm

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

embedded

Enables critical-section and embedded-alloc

libm default

Enables libm

lib default

Enables sp1-lib

optional

Affects sp1-zkvm::io, sp1-zkvm::lib

verify

Enables p3-baby-bear and p3-field, verify of sp1-lib

bump default

Affects memory::sys_alloc_aligned