# 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.5.1"
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"]
app = [
    "dep:anyhow",
    "dep:config",
    "dep:validator",
    "dep:idworker",
]
db = [
    "app",
    "dep:sqlx",
    "dep:sea-orm",
    "dep:regex",
    "dep:once_cell",
]
macros = ["dep:robotech-macros"]
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.102"
optional = true

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

[dependencies.chrono]
version = "0.4.44"

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

[dependencies.derive_setters]
version = "0.1.9"

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

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

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

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

[dependencies.linkme]
version = "0.3.35"

[dependencies.log]
version = "0.4.29"

[dependencies.nix]
version = "0.31.2"

[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.3"
optional = true

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

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

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

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

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_with]
version = "3.18.0"

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

[dependencies.sqlx]
version = "0.9.0-alpha.1"
optional = true

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.51.1"
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.6.8"
features = [
    "cors",
    "trace",
    "fs",
]
optional = true

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

[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.4.0"

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

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

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