[package]
name = "chia-datalayer"
version = "0.38.2"
edition = "2024"
license = "Apache-2.0"
description = "DataLayer modules for Chia blockchain"
authors = ["Chia Network, Inc. <hello@chia.net>"]
homepage = "https://github.com/Chia-Network/chia_rs"
repository = "https://github.com/Chia-Network/chia_rs"

[lints]
workspace = true

[features]
py-bindings = ["dep:pyo3", "dep:chia_py_streamable_macro", "chia-protocol/py-bindings"]
arbitrary = ["dep:arbitrary", "chia-protocol/arbitrary"]

[lib]
crate-type = ["rlib"]

[dependencies]
num-traits = { workspace = true }
pyo3 = { workspace = true, optional = true }
thiserror = { workspace = true }
bitvec = { workspace = true }
indexmap = { workspace = true }
chia_py_streamable_macro = { workspace = true, optional = true }
chia_streamable_macro = { workspace = true }
chia-datalayer-macro = { workspace = true }
chia-traits = { workspace = true }
chia-sha2 = { workspace = true }
chia-protocol = { workspace = true }
rayon = { workspace = true }
zstd = { workspace = true }
arbitrary = { workspace = true, features = ["derive"], optional = true }

[package.metadata.cargo-machete]
ignored = ["chia-sha2"]
