[package] name = "sov-state" description = "Defines traits and types for state storage in the Sovereign SDK module system" authors = { workspace = true } edition = { workspace = true } homepage = { workspace = true } license = { workspace = true } repository = { workspace = true } version = { workspace = true } readme = "README.md" resolver = "2" [dependencies] anyhow = { workspace = true } arbitrary = { workspace = true, optional = true } borsh = { workspace = true } bcs = { workspace = true } proptest = { workspace = true, optional = true } proptest-derive = { workspace = true, optional = true } serde = { workspace = true } serde_json = { workspace = true } thiserror = { workspace = true } sov-rollup-interface = { path = "../../rollup-interface", version = "0.3" } sov-db = { path = "../../full-node/db/sov-db", version = "0.3", optional = true } sov-first-read-last-write-cache = { path = "../utils/sov-first-read-last-write-cache", version = "0.3" } jmt = { workspace = true } hex = { workspace = true } sha2 = { workspace = true } sov-zk-cycle-macros = { path = "../../utils/zk-cycle-macros", version = "0.3", optional = true } risc0-zkvm = { workspace = true, default-features = false, features = ["std"], optional = true } risc0-zkvm-platform = { workspace = true, optional = true } [dev-dependencies] tempfile = { workspace = true } proptest = { workspace = true } [features] arbitrary = [ "dep:arbitrary", "dep:proptest", "dep:proptest-derive" ] bench = ["sov-zk-cycle-macros", "risc0-zkvm", "risc0-zkvm-platform"] default = [] native = ["sov-db"]