Cargo Features

Sindri has no features set by default.

[dependencies]
sindri = { version = "0.2.2", features = ["record", "replay", "compress", "rich-terminal", "sp1-v3", "sp1-v4"] }
record

Record and replay middleware, for internal testing

Enables anyhow, chrono, lazy_static, and vcr-cassette

anyhow:

Integration test dependencies

Affects custom_middleware::vcr_middleware

replay

Enables anyhow, chrono, lazy_static, and vcr-cassette

Affects custom_middleware::vcr_middleware

compress
rich-terminal

CLI-specific features

Enables console and indicatif

console:

Optional dependencies

sp1-v3

Framework-specific features

Enables rmp-serde and sp1-sdk ^3.0.0

rmp-serde:

Framework-specific dependencies

Affects integrations::sp1_v3

sp1-v4

Enables rmp-serde and sp1-sdk

Affects integrations::sp1_v4