commonware-resolver 2026.2.0

Resolve data identified by a fixed-length key.
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 = "2021"
name = "commonware-resolver"
version = "2026.2.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Resolve data identified by a fixed-length key."
homepage = "https://commonware.xyz"
documentation = "https://docs.rs/commonware-resolver"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/commonwarexyz/monorepo/tree/main/resolver"

[package.metadata.cargo-udeps.ignore]
development = ["commonware-resolver"]

[features]
arbitrary = [
    "commonware-codec/arbitrary",
    "commonware-cryptography/arbitrary",
    "commonware-p2p/arbitrary",
    "commonware-runtime/arbitrary",
    "commonware-utils/arbitrary",
    "dep:arbitrary",
]
mocks = []

[lib]
name = "commonware_resolver"
path = "src/lib.rs"
bench = false

[dependencies.arbitrary]
version = "1.4.1"
features = ["derive"]
optional = true

[dependencies.bytes]
version = "1.7.1"
default-features = false

[dependencies.commonware-codec]
version = "2026.2.0"
default-features = false

[dependencies.commonware-cryptography]
version = "2026.2.0"
default-features = false

[dependencies.commonware-macros]
version = "2026.2.0"
features = ["std"]
default-features = false

[dependencies.commonware-p2p]
version = "2026.2.0"

[dependencies.commonware-runtime]
version = "2026.2.0"
features = ["test-utils"]

[dependencies.commonware-stream]
version = "2026.2.0"

[dependencies.commonware-utils]
version = "2026.2.0"
default-features = false

[dependencies.futures]
version = "0.3.31"

[dependencies.prometheus-client]
version = "0.24.0"

[dependencies.rand]
version = "0.8.5"
default-features = false

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

[dependencies.tracing]
version = "0.1.41"

[dev-dependencies.commonware-conformance]
version = "2026.2.0"

[dev-dependencies.tracing-subscriber]
version = "0.3.19"

[lints.clippy]
disallowed_macros = "deny"
disallowed_types = "deny"
missing-const-for-fn = "warn"
option-if-let-else = "warn"
redundant-clone = "warn"
suspicious_op_assign_impl = "allow"
undocumented_unsafe_blocks = "deny"
use-self = "warn"

[lints.rust]
rust-2018-idioms = "deny"
unused-must-use = "deny"
warnings = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(full_bench)",
    "cfg(generate_conformance_tests)",
    "cfg(commonware_stability_BETA)",
    "cfg(commonware_stability_GAMMA)",
    "cfg(commonware_stability_DELTA)",
    "cfg(commonware_stability_EPSILON)",
    "cfg(commonware_stability_RESERVED)",
]