# 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-rpc"
version = "0.7.0"
authors = ["Emil Schütt <emil.schutt@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Overseerd native RPC protocol plugin: router, extractors, middleware, transports, and the serve loop, over the protocol-agnostic overseerd-app core."
homepage = "https://github.com/retrokiller543/overseerd"
readme = false
keywords = [
    "daemon",
    "rpc",
    "framework",
    "async",
    "ioc",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/retrokiller543/overseerd"

[features]
client = [
    "dep:async-trait",
    "dep:overseerd-client",
    "overseerd-rpc-macros/client",
]
default = []
di-check = [
    "overseerd-app/di-check",
    "overseerd-di/di-check",
    "overseerd-config/di-check",
    "overseerd-transport/di-check",
    "overseerd-rpc-macros/di-check",
]
facade = ["overseerd-rpc-macros/facade"]
tracing-subscriber = ["overseerd-app/tracing-subscriber"]
watch = [
    "overseerd-app/watch",
    "overseerd-config/watch",
]
yaml = [
    "overseerd-app/yaml",
    "overseerd-config/yaml",
]

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

[dependencies.arc-swap]
version = "1.9.1"

[dependencies.async-trait]
version = "0.1"
optional = true

[dependencies.directories]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.linkme]
version = "0.3"

[dependencies.overseerd-app]
version = "0.7.0"

[dependencies.overseerd-client]
version = "0.7.0"
optional = true

[dependencies.overseerd-config]
version = "0.7.0"

[dependencies.overseerd-core]
version = "0.7.0"

[dependencies.overseerd-di]
version = "0.7.0"

[dependencies.overseerd-dirs]
version = "0.7.0"

[dependencies.overseerd-hooks]
version = "0.7.0"

[dependencies.overseerd-rpc-macros]
version = "0.7.0"

[dependencies.overseerd-transport]
version = "0.7.0"
features = ["di"]

[dependencies.postcard]
version = "1"
features = ["use-std"]

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

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tokio-util]
version = "0.7"

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tracing]
version = "0.1"
