# 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 = "aoba"
version = "0.0.9"
authors = ["langyo <langyo.china@gmail.com>"]
build = "build.rs"
exclude = [
    "docs/**",
    "examples/**",
    "scripts/**",
    "res/mono-sc-nerd.ttf",
    ".trae/**",
    ".github/**",
    "CLAUDE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-protocol debugging and simulation CLI/TUI tool for Modbus RTU."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/celestia-island/aoba"

[package.metadata.cargo-all-features]
denylist = ["aws-lc-rs"]

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

[[bin]]
name = "aoba"
path = "src/main.rs"

[dependencies.anyhow]
version = "^1"
features = ["backtrace"]

[dependencies.async-trait]
version = "^0.1"

[dependencies.axum]
version = "^0.8"

[dependencies.base64]
version = "^0.22"

[dependencies.bytes]
version = "^1"

[dependencies.cfg-if]
version = "^1"

[dependencies.chrono]
version = "^0.4"
features = [
    "serde",
    "unstable-locales",
]

[dependencies.clap]
version = "^4"

[dependencies.crossterm]
version = "^0.29"

[dependencies.ctrlc]
version = "^3"

[dependencies.derive_more]
version = "^2"
features = ["full"]

[dependencies.env_logger]
version = "^0.11"

[dependencies.flume]
version = "^0.11"

[dependencies.futures]
version = "^0.3"

[dependencies.interprocess]
version = "^2"

[dependencies.libc]
version = "^0.2"

[dependencies.log]
version = "^0.4"

[dependencies.num_enum]
version = "^0.7"

[dependencies.once_cell]
version = "^1"

[dependencies.oneshot]
version = "^0.1"

[dependencies.parking_lot]
version = "^0.12"

[dependencies.percent-encoding]
version = "^2"

[dependencies.postcard]
version = "^1"
features = ["alloc"]

[dependencies.rand]
version = "^0.9"

[dependencies.ratatui]
version = "^0.29"

[dependencies.rmodbus]
version = "^0.12"
features = ["with_serde"]

[dependencies.rumqttc]
version = "^0.25"
features = ["use-native-tls"]
default-features = false

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

[dependencies.serde_json]
version = "^1"

[dependencies.serde_json_path]
version = "^0.7"

[dependencies.serialport]
version = "^4"
default-features = false

[dependencies.sqids]
version = "^0.4"

[dependencies.strum]
version = "^0.27"
features = ["derive"]

[dependencies.tokio]
version = "^1"
features = ["full"]

[dependencies.toml]
version = "^0.9"

[dependencies.tracing]
version = "^0.1"

[dependencies.tracing-appender]
version = "^0.2"

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

[dependencies.unicode-width]
version = "^0.2"

[dependencies.ureq]
version = "^3"
features = [
    "json",
    "native-tls",
]
default-features = false

[dependencies.url]
version = "^2"

[dependencies.uuid]
version = "^1"
features = [
    "v4",
    "v7",
    "fast-rng",
    "macro-diagnostics",
    "serde",
]

[dependencies.whoami]
version = "^1"

[dependencies.yuuka]
version = "^0.6"

[dev-dependencies.tokio-test]
version = "^0.4"

[build-dependencies.anyhow]
version = "^1"
features = ["backtrace"]

[build-dependencies.semver]
version = "^1"

[build-dependencies.serde_json]
version = "^1"

[build-dependencies.toml]
version = "^0.9"

[target."cfg(windows)".dependencies.windows]
version = "^0.62"
features = [
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
    "Win32_System_IO",
    "Win32_Security",
    "Win32_System_Threading",
]

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
