[package] name = "bonsai-rest-api-mock" description = "An HTTP REST API server to mock the Bonsai-alpha prover interface." version = "0.6.1" edition = { workspace = true } license = { workspace = true } homepage = { workspace = true } repository = { workspace = true } [dependencies] anyhow = "1.0" axum = { version = "0.7", features = ["macros"] } bincode = "1.3" bonsai-sdk = { workspace = true } hex = "0.4" risc0-zkvm = { workspace = true, features = ["client"] } serde_json = "1.0" thiserror = "1.0" tokio = { version = "1", features = ["full", "sync"] } tower-http = { version = "0.5", features = ["trace"] } tracing = "0.1" uuid = { version = "1.4", features = ["v4", "serde"] } [dev-dependencies] bonsai-sdk = { workspace = true, features = ["async"] } risc0-zkvm-methods = { path = "../../risc0/zkvm/methods", default-features = false } [features] cuda = ["risc0-zkvm/cuda"] default = [] metal = ["risc0-zkvm/metal"] prove = ["risc0-zkvm/prove"]