[package]
edition = "2021"
rust-version = "1.75.0"
name = "dig-coinstore"
version = "0.1.3"
authors = ["DIG Network"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DIG L2 global coin state database — persistent UTXO store with Merkle proofs, hint indexing, and rollback support"
readme = "README.md"
license = "MIT"
repository = "https://github.com/DIG-Network/dig-coinstore"
[features]
default = ["rocksdb-storage"]
full-storage = [
"rocksdb-storage",
"lmdb-storage",
]
lmdb-storage = ["dep:heed"]
rocksdb-storage = ["dep:rocksdb"]
[lib]
name = "dig_coinstore"
path = "src/lib.rs"
[[test]]
name = "api_001_tests"
path = "tests/api_001_tests.rs"
[[test]]
name = "api_002_tests"
path = "tests/api_002_tests.rs"
[[test]]
name = "api_003_tests"
path = "tests/api_003_tests.rs"
[[test]]
name = "api_004_tests"
path = "tests/api_004_tests.rs"
[[test]]
name = "api_005_tests"
path = "tests/api_005_tests.rs"
[[test]]
name = "api_006_tests"
path = "tests/api_006_tests.rs"
[[test]]
name = "api_007_tests"
path = "tests/api_007_tests.rs"
[[test]]
name = "api_008_tests"
path = "tests/api_008_tests.rs"
[[test]]
name = "api_009_tests"
path = "tests/api_009_tests.rs"
[[test]]
name = "api_010_tests"
path = "tests/api_010_tests.rs"
[[test]]
name = "blk_001_tests"
path = "tests/blk_001_tests.rs"
[[test]]
name = "blk_002_tests"
path = "tests/blk_002_tests.rs"
[[test]]
name = "blk_003_tests"
path = "tests/blk_003_tests.rs"
[[test]]
name = "blk_004_tests"
path = "tests/blk_004_tests.rs"
[[test]]
name = "blk_005_tests"
path = "tests/blk_005_tests.rs"
[[test]]
name = "blk_006_tests"
path = "tests/blk_006_tests.rs"
[[test]]
name = "blk_007_tests"
path = "tests/blk_007_tests.rs"
[[test]]
name = "blk_008_tests"
path = "tests/blk_008_tests.rs"
[[test]]
name = "blk_009_tests"
path = "tests/blk_009_tests.rs"
[[test]]
name = "blk_010_tests"
path = "tests/blk_010_tests.rs"
[[test]]
name = "blk_011_tests"
path = "tests/blk_011_tests.rs"
[[test]]
name = "blk_012_tests"
path = "tests/blk_012_tests.rs"
[[test]]
name = "blk_013_tests"
path = "tests/blk_013_tests.rs"
[[test]]
name = "blk_014_tests"
path = "tests/blk_014_tests.rs"
[[test]]
name = "con_001_tests"
path = "tests/con_001_tests.rs"
[[test]]
name = "con_002_tests"
path = "tests/con_002_tests.rs"
[[test]]
name = "con_003_tests"
path = "tests/con_003_tests.rs"
[[test]]
name = "con_004_tests"
path = "tests/con_004_tests.rs"
[[test]]
name = "hnt_001_tests"
path = "tests/hnt_001_tests.rs"
[[test]]
name = "hnt_002_tests"
path = "tests/hnt_002_tests.rs"
[[test]]
name = "hnt_003_tests"
path = "tests/hnt_003_tests.rs"
[[test]]
name = "hnt_004_tests"
path = "tests/hnt_004_tests.rs"
[[test]]
name = "hnt_005_tests"
path = "tests/hnt_005_tests.rs"
[[test]]
name = "hnt_006_tests"
path = "tests/hnt_006_tests.rs"
[[test]]
name = "mrk_001_tests"
path = "tests/mrk_001_tests.rs"
[[test]]
name = "mrk_002_tests"
path = "tests/mrk_002_tests.rs"
[[test]]
name = "mrk_003_tests"
path = "tests/mrk_003_tests.rs"
[[test]]
name = "mrk_004_tests"
path = "tests/mrk_004_tests.rs"
[[test]]
name = "mrk_005_tests"
path = "tests/mrk_005_tests.rs"
[[test]]
name = "mrk_006_tests"
path = "tests/mrk_006_tests.rs"
[[test]]
name = "prf_001_tests"
path = "tests/prf_001_tests.rs"
[[test]]
name = "prf_002_tests"
path = "tests/prf_002_tests.rs"
[[test]]
name = "prf_003_tests"
path = "tests/prf_003_tests.rs"
[[test]]
name = "prf_004_tests"
path = "tests/prf_004_tests.rs"
[[test]]
name = "prf_005_tests"
path = "tests/prf_005_tests.rs"
[[test]]
name = "prf_006_tests"
path = "tests/prf_006_tests.rs"
[[test]]
name = "prf_007_tests"
path = "tests/prf_007_tests.rs"
[[test]]
name = "prf_008_tests"
path = "tests/prf_008_tests.rs"
[[test]]
name = "prf_009_tests"
path = "tests/prf_009_tests.rs"
[[test]]
name = "qry_001_tests"
path = "tests/qry_001_tests.rs"
[[test]]
name = "qry_002_tests"
path = "tests/qry_002_tests.rs"
[[test]]
name = "qry_003_tests"
path = "tests/qry_003_tests.rs"
[[test]]
name = "qry_004_tests"
path = "tests/qry_004_tests.rs"
[[test]]
name = "qry_005_tests"
path = "tests/qry_005_tests.rs"
[[test]]
name = "qry_006_tests"
path = "tests/qry_006_tests.rs"
[[test]]
name = "qry_007_tests"
path = "tests/qry_007_tests.rs"
[[test]]
name = "qry_008_tests"
path = "tests/qry_008_tests.rs"
[[test]]
name = "qry_009_tests"
path = "tests/qry_009_tests.rs"
[[test]]
name = "qry_010_tests"
path = "tests/qry_010_tests.rs"
[[test]]
name = "qry_011_tests"
path = "tests/qry_011_tests.rs"
[[test]]
name = "rbk_001_tests"
path = "tests/rbk_001_tests.rs"
[[test]]
name = "sto_001_tests"
path = "tests/sto_001_tests.rs"
[[test]]
name = "sto_002_tests"
path = "tests/sto_002_tests.rs"
[[test]]
name = "sto_003_tests"
path = "tests/sto_003_tests.rs"
[[test]]
name = "sto_004_tests"
path = "tests/sto_004_tests.rs"
[[test]]
name = "sto_005_tests"
path = "tests/sto_005_tests.rs"
[[test]]
name = "sto_006_tests"
path = "tests/sto_006_tests.rs"
[[test]]
name = "sto_007_tests"
path = "tests/sto_007_tests.rs"
[[test]]
name = "sto_008_tests"
path = "tests/sto_008_tests.rs"
[[test]]
name = "str_001_tests"
path = "tests/str_001_tests.rs"
[[test]]
name = "str_002_tests"
path = "tests/str_002_tests.rs"
[[test]]
name = "str_003_tests"
path = "tests/str_003_tests.rs"
[[test]]
name = "str_004_tests"
path = "tests/str_004_tests.rs"
[[test]]
name = "str_005_tests"
path = "tests/str_005_tests.rs"
[[test]]
name = "str_006_tests"
path = "tests/str_006_tests.rs"
[[bench]]
name = "coinstate_bench"
path = "benches/coinstate_bench.rs"
[dependencies.bincode]
version = "1.3"
[dependencies.chia-protocol]
version = "0.26"
[dependencies.chia-sha2]
version = "0.26"
[dependencies.chia-traits]
version = "0.26"
[dependencies.dig-clvm]
version = "0.2"
[dependencies.dig-constants]
version = "0.9"
[dependencies.heed]
version = "0.20"
optional = true
[dependencies.lru]
version = "0.12"
[dependencies.parking_lot]
version = "0.12"
[dependencies.rayon]
version = "1.10"
[dependencies.rocksdb]
version = "0.22"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.chia-consensus]
version = "0.26"
[dev-dependencies.heed]
version = "0.20"
[dev-dependencies.hex-literal]
version = "0.4"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.tempfile]
version = "3"