# 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 = "0.11.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 = [
    "base",
    "dep:reqwest",
]
base = [
    "dep:log",
    "dep:tracing-log",
    "dep:tracing-core",
    "dep:tracing-subscriber",
    "dep:tracing-appender",
    "dep:chrono",
    "dep:serde",
    "dep:serde_json",
    "dep:utoipa",
]
crud = [
    "svr",
    "dep:sea-orm",
    "dep:regex",
    "dep:once_cell",
]
svr = [
    "base",
    "dep:wheel-rs",
    "dep:config",
    "dep:thiserror",
    "dep:validator",
]
web = [
    "svr",
    "dep:actix-web",
]

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

[dependencies.actix-web]
version = "4.12.1"
optional = true

[dependencies.async-trait]
version = "0.1.89"

[dependencies.chrono]
version = "0.4.42"
optional = true

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

[dependencies.log]
version = "0.4.28"
optional = true

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

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

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

[dependencies.sea-orm]
version = "1.1.19"
optional = true

[dependencies.serde]
version = "1.0.228"
optional = true

[dependencies.serde_json]
version = "1.0.145"
optional = true

[dependencies.thiserror]
version = "2.0.17"
optional = true

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

[dependencies.tracing-core]
version = "0.1.35"
optional = true

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

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

[dependencies.utoipa]
version = "5.4.0"
optional = true

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

[dependencies.wheel-rs]
version = "0.4.1"
optional = true
