# 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.85"
name = "bee-check"
version = "0.5.1"
authors = ["Calin Martinconi <martinconic@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Retrievability checker for Ethereum Swarm references. Multi-vantage stewardship probes, per-chunk drill-down, and one-shot re-seed."
readme = "README.md"
keywords = [
    "swarm",
    "bee",
    "ethereum",
    "retrievability",
    "stewardship",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ethswarm-tools/bee-check"

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

[[bin]]
name = "bee-check"
path = "src/main.rs"

[[test]]
name = "aggregate"
path = "tests/aggregate.rs"

[dependencies.anyhow]
version = "1"

[dependencies.bee-rs]
version = "1.6"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "wrap_help",
]

[dependencies.futures]
version = "0.3"

[dependencies.humantime]
version = "2"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1.40"
features = [
    "macros",
    "rt-multi-thread",
    "time",
    "sync",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.tempfile]
version = "3"

[profile.dist]
lto = "thin"
inherits = "release"

[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
strip = true
