# 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 = "overseerd"
version = "0.12.1"
authors = ["Emil Schütt <emil.schutt@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An async daemon framework with compile-time dependency injection, typed RPC, and config — the all-in-one facade crate."
homepage = "https://github.com/retrokiller543/overseerd"
readme = "README.md"
keywords = [
    "daemon",
    "rpc",
    "framework",
    "async",
    "ioc",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/retrokiller543/overseerd"

[features]
axum = [
    "dep:overseerd-axum",
    "overseerd-axum/facade",
]
client = [
    "overseerd-rpc?/client",
    "overseerd-axum?/client",
]
daemon = [
    "dep:overseerd-rpc",
    "overseerd-rpc/facade",
]
default = ["di-check"]
di-check = [
    "overseerd-macros/di-check",
    "overseerd-di/di-check",
    "overseerd-config/di-check",
    "overseerd-app/di-check",
    "overseerd-rpc?/di-check",
    "overseerd-axum?/di-check",
    "overseerd-jobs?/di-check",
]
hyper = [
    "client",
    "overseerd-axum?/hyper",
]
jobs = [
    "dep:overseerd-jobs",
    "overseerd-jobs/facade",
]
multipart = [
    "axum",
    "overseerd-axum/multipart",
]
reqwest = [
    "client",
    "overseerd-axum?/reqwest",
]
stomp = [
    "ws",
    "overseerd-axum/stomp",
]
tracing-subscriber = [
    "overseerd-app/tracing-subscriber",
    "overseerd-jobs?/tracing-subscriber",
]
tungstenite = [
    "client",
    "ws",
    "overseerd-axum?/tungstenite",
]
uuid = ["overseerd-axum?/uuid"]
wasm-ts = ["overseerd-axum?/wasm-ts"]
watch = [
    "overseerd-config/watch",
    "overseerd-app/watch",
    "overseerd-rpc?/watch",
    "overseerd-axum?/watch",
]
ws = [
    "axum",
    "overseerd-axum/ws",
]
yaml = [
    "overseerd-config/yaml",
    "overseerd-app/yaml",
    "overseerd-rpc?/yaml",
    "overseerd-axum?/yaml",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.futures]
version = "0.3"

[dependencies.overseerd-axum]
version = "0.12.1"
optional = true

[dependencies.overseerd-client]
version = "0.12.1"

[dependencies.overseerd-macros]
version = "0.12.1"

[dependencies.overseerd-transport]
version = "0.12.1"

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

[dev-dependencies.serde_json]
version = "1"

[target.'cfg(not(target_family = "wasm"))'.dependencies.overseerd-app]
version = "0.12.1"

[target.'cfg(not(target_family = "wasm"))'.dependencies.overseerd-config]
version = "0.12.1"

[target.'cfg(not(target_family = "wasm"))'.dependencies.overseerd-core]
version = "0.12.1"

[target.'cfg(not(target_family = "wasm"))'.dependencies.overseerd-di]
version = "0.12.1"

[target.'cfg(not(target_family = "wasm"))'.dependencies.overseerd-dirs]
version = "0.12.1"

[target.'cfg(not(target_family = "wasm"))'.dependencies.overseerd-hooks]
version = "0.12.1"

[target.'cfg(not(target_family = "wasm"))'.dependencies.overseerd-jobs]
version = "0.12.1"
optional = true

[target.'cfg(not(target_family = "wasm"))'.dependencies.overseerd-rpc]
version = "0.12.1"
optional = true

[target.'cfg(not(target_family = "wasm"))'.dependencies.postcard]
version = "1"
features = ["use-std"]

[target.'cfg(not(target_family = "wasm"))'.dependencies.tokio]
version = "1"
features = ["full"]
