# 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-tui"
version = "1.9.0"
authors = ["Calin Martinconi <martinconic@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Production-grade k9s-style terminal cockpit for Ethereum Swarm Bee node operators."
readme = "README.md"
keywords = [
    "swarm",
    "bee",
    "ethereum",
    "tui",
    "ratatui",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ethswarm-tools/bee-tui"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.better-panic]
version = "0.3.0"

[dependencies.clap]
version = "4.5.20"
features = [
    "derive",
    "cargo",
    "wrap_help",
    "unicode",
    "string",
    "unstable-styles",
]

[dependencies.color-eyre]
version = "0.6.3"

[dependencies.config]
version = "0.14.0"

[dependencies.crossterm]
version = "0.28.1"
features = [
    "serde",
    "event-stream",
]

[dependencies.directories]
version = "5.0.1"

[dependencies.futures]
version = "0.3.31"

[dependencies.human-panic]
version = "2.0.2"

[dependencies.json5]
version = "0.4.1"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.libc]
version = "0.2.161"

[dependencies.num-bigint]
version = "0.4"

[dependencies.pretty_assertions]
version = "1.4.1"

[dependencies.ratatui]
version = "0.30.0"
features = [
    "serde",
    "macros",
]

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

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

[dependencies.serde_json]
version = "1.0.132"

[dependencies.signal-hook]
version = "0.3.17"

[dependencies.strip-ansi-escapes]
version = "0.2.0"

[dependencies.strum]
version = "0.26.3"
features = ["derive"]

[dependencies.time]
version = "0.3"
features = [
    "parsing",
    "macros",
]
default-features = false

[dependencies.tokio]
version = "1.40.0"
features = ["full"]

[dependencies.tokio-util]
version = "0.7.12"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1.40"

[dependencies.tracing-error]
version = "0.2.0"

[dependencies.tracing-subscriber]
version = "0.3.18"
features = [
    "env-filter",
    "serde",
]

[dev-dependencies.insta]
version = "1.41"
features = ["filters"]

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

[build-dependencies.anyhow]
version = "1.0.90"

[build-dependencies.vergen-gix]
version = "9.1.0"
features = [
    "build",
    "cargo",
]

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

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