miden-node-store 0.13.2

Miden node's state store component
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.90"
name = "miden-node-store"
version = "0.13.2"
authors = ["Miden contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Miden node's state store component"
homepage = "https://miden.xyz"
readme = "README.md"
keywords = [
    "miden",
    "node",
    "store",
]
license = "MIT"
repository = "https://github.com/0xMiden/miden-node"
resolver = "2"

[package.metadata.cargo-machete]
ignored = ["miden-crypto"]

[features]
default = ["rocksdb"]
rocksdb = ["miden-crypto/rocksdb"]

[lib]
name = "miden_node_store"
path = "src/lib.rs"

[[bench]]
name = "account_tree"
path = "benches/account_tree.rs"
harness = false
required-features = ["rocksdb"]

[dependencies.anyhow]
version = "1.0"

[dependencies.deadpool]
version = "0.12"
features = [
    "managed",
    "rt_tokio_1",
]
default-features = false

[dependencies.deadpool-diesel]
version = "0.6"
features = ["sqlite"]

[dependencies.deadpool-sync]
version = "0.1"
features = ["tracing"]
default-features = false

[dependencies.diesel]
version = "2.3"
features = [
    "numeric",
    "sqlite",
]

[dependencies.diesel_migrations]
version = "2.3"
features = ["sqlite"]

[dependencies.fs-err]
version = "3"

[dependencies.hex]
version = "0.4"

[dependencies.indexmap]
version = "2.12"

[dependencies.miden-crypto]
version = "0.19"
features = [
    "concurrent",
    "hashmaps",
]
default-features = false

[dependencies.miden-node-proto]
version = "0.13"

[dependencies.miden-node-proto-build]
version = "0.13"
features = ["internal"]

[dependencies.miden-node-utils]
version = "0.13"

[dependencies.miden-protocol]
version = "0.13"
features = [
    "std",
    "testing",
]
default-features = false

[dependencies.miden-standards]
version = "0.13"

[dependencies.pretty_assertions]
version = "1.4"

[dependencies.rand]
version = "0.9"

[dependencies.rand_chacha]
version = "0.9"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.thiserror]
version = "2.0"
default-features = false

[dependencies.tokio]
version = "1.46"
features = [
    "rt-multi-thread",
    "fs",
    "rt-multi-thread",
]

[dependencies.tokio-stream]
version = "0.1"
features = ["net"]

[dependencies.toml]
version = "0.9"

[dependencies.tonic]
version = "0.14"
default-features = true

[dependencies.tonic-reflection]
version = "0.14"

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
    "util",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.assert_matches]
version = "1.5"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.fs-err]
version = "3"

[dev-dependencies.miden-node-utils]
version = "0.13"
features = [
    "testing",
    "tracing-forest",
]

[dev-dependencies.miden-protocol]
version = "0.13"
features = ["testing"]
default-features = true

[dev-dependencies.miden-standards]
version = "0.13"
features = ["testing"]

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.regex]
version = "1.11"

[dev-dependencies.termtree]
version = "0.5"

[lints.clippy]
cast_possible_truncation = "allow"
collapsible-if = "allow"
from_iter_instead_of_collect = "allow"
ignored_unit_patterns = "allow"
large_types_passed_by_value = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_for_each = "allow"
should_panic_without_expect = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1