# 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"
name = "robotech"
version = "1.7.5"
authors = ["zbz"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Backend service implementation for the RoboTech platform, providing RESTful APIs and business logic for web applications."
homepage = "https://github.com/rusthing/robotech-rs"
readme = "README.md"
keywords = [
    "crud",
    "microservice",
    "service",
    "RESTful",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/rusthing/robotech-rs"

[features]
api-client = [
    "dep:reqwest",
    "dep:http",
    "dep:jsonwebtoken",
]
app = [
    "dep:anyhow",
    "dep:config",
    "dep:validator",
    "dep:idworker",
]
db = [
    "app",
    "dep:sqlx",
    "dep:sea-orm",
    "dep:regex",
    "dep:once_cell",
]
influxdb2 = ["dep:influxdb2"]
macros = ["dep:robotech-macros"]
mqtt = [
    "dep:rumqttc",
    "dep:bytes",
]
web = [
    "app",
    "dep:ipnet",
    "dep:axum",
    "dep:tower",
    "dep:tower-http",
    "dep:tokio-rustls",
    "dep:hyper",
    "dep:hyper-util",
    "dep:rustls-pemfile",
    "dep:socket2",
    "dep:reqwest",
]

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

[dependencies.anyhow]
version = "1.0.103"
optional = true

[dependencies.axum]
version = "0.8.9"
features = [
    "multipart",
    "macros",
]
optional = true

[dependencies.bytes]
version = "1.12.0"
optional = true

[dependencies.chrono]
version = "0.4.45"

[dependencies.config]
version = "0.15.24"
optional = true

[dependencies.derive_setters]
version = "0.1.9"

[dependencies.http]
version = "1.4.2"
optional = true

[dependencies.hyper]
version = "1.10.1"
optional = true

[dependencies.hyper-util]
version = "0.1.20"
optional = true

[dependencies.idworker]
version = "1.1.1"
optional = true

[dependencies.influxdb2]
version = "0.5.2"
optional = true

[dependencies.ipnet]
version = "2.12.0"
optional = true

[dependencies.jsonwebtoken]
version = "10.4.0"
optional = true

[dependencies.linkme]
version = "0.3.36"

[dependencies.log]
version = "0.4.33"

[dependencies.nix]
version = "0.31.3"

[dependencies.notify]
version = "8.2.0"

[dependencies.notify-debouncer-mini]
version = "0.7.0"

[dependencies.once_cell]
version = "1.21.4"
optional = true

[dependencies.regex]
version = "1.12.4"
optional = true

[dependencies.reqwest]
version = "0.13.4"
features = [
    "multipart",
    "json",
    "stream",
    "query",
]
optional = true

[dependencies.robotech-macros]
version = "1.7.5"
optional = true

[dependencies.rumqttc]
version = "0.25.1"
optional = true

[dependencies.rustls-pemfile]
version = "2.2.0"
optional = true

[dependencies.sea-orm]
version = "2.0.0-rc.41"
optional = true

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.serde_with]
version = "3.21.0"

[dependencies.socket2]
version = "0.6.4"
optional = true

[dependencies.sqlx]
version = "0.9.0"
optional = true

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = ["macros"]

[dependencies.tokio-rustls]
version = "0.26.4"
features = ["aws-lc-rs"]
optional = true

[dependencies.tower]
version = "0.5.3"
optional = true

[dependencies.tower-http]
version = "0.7.0"
features = [
    "cors",
    "trace",
    "fs",
]
optional = true

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-appender]
version = "0.2.5"

[dependencies.tracing-core]
version = "0.1.36"

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

[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "env-filter",
    "json",
    "chrono",
    "tracing-log",
]

[dependencies.typed-builder]
version = "0.23.2"

[dependencies.utoipa]
version = "5.5.0"

[dependencies.utoipa-swagger-ui]
version = "9.0.2"
features = ["axum"]

[dependencies.validator]
version = "0.20.0"
optional = true

[dependencies.wheel-rs]
version = "1.8.1"
