Cargo Features

[dependencies]
sp1-sdk = { version = "4.0.1", default-features = false, features = ["native-gnark", "network", "cuda", "profiling"] }
default = network

The network feature is set by default whenever sp1-sdk is added without default-features = false somewhere in the dependency tree.

native-gnark

Enables native-gnark of sp1-prover

network default

TODO: Once alloy has a 1.* release, we can likely remove this feature flag, as there will be less dependency resolution issues.

Enables alloy-primitives, alloy-signer ^0.8, alloy-signer-local ^0.8, alloy-sol-types, backoff, prost, reqwest, reqwest-middleware ^0.3.2, tokio, tonic, and twirp-rs

Affects install::install_circuit_artifacts, install::download_file, sp1-sdk::network

cuda
profiling

Enables profiling of sp1-core-executor