[package]
name = "tidepool-core"
version.workspace = true
description = "Pure primitives for Tidepool: keccak merkle math, LeafSchemaV1 hashing, compressed-NFT proof computation. Zero Solana or I/O dependencies."
edition.workspace = true
license.workspace = true
repository.workspace = true
authors.workspace = true
rust-version.workspace = true
readme = "../../README.md"
keywords = ["solana", "bubblegum", "merkle", "cnft", "keccak"]
categories = ["cryptography", "data-structures"]

[lints]
workspace = true

[dependencies]
# Only dep: keccak256. `sha3` ships Keccak256 as the pre-standard variant
# (the one Ethereum + Solana use) — distinct from NIST SHA-3. Audited,
# zero-dep itself, no_std-capable.
sha3 = "0.10"

# Serde traits on the public data types. Lets service-layer
# persistence backends (SQLite) serialize Creator / LeafSchemaV1 etc.
# without re-defining parallel types. Derive-only — no runtime cost
# when serialization isn't exercised.
serde = { version = "1", features = ["derive"] }

[dev-dependencies]
# None. Node's built-in #[test] + integration tests under /tests suffice.
