# 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"
rust-version = "1.90"
name = "tonin-core"
version = "0.3.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types for tonin: Service builder, Config, Context, Error, runtime."
homepage = "https://github.com/Rushit/tonin"
readme = "README.md"
keywords = [
    "microservice",
    "grpc",
    "kubernetes",
    "tonic",
    "framework",
]
categories = [
    "network-programming",
    "web-programming",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/Rushit/tonin"
resolver = "2"

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.futures-core]
version = "0.3"

[dependencies.futures-util]
version = "0.3"

[dependencies.http]
version = "1"

[dependencies.hyper]
version = "1"
features = [
    "server",
    "http1",
    "http2",
]

[dependencies.hyper-util]
version = "0.1"
features = [
    "server-auto",
    "tokio",
    "service",
]

[dependencies.jsonwebtoken]
version = "9"

[dependencies.opentelemetry]
version = "0.27"

[dependencies.opentelemetry-http]
version = "0.27"

[dependencies.opentelemetry-otlp]
version = "0.27"
features = [
    "grpc-tonic",
    "trace",
]

[dependencies.opentelemetry-semantic-conventions]
version = "0.27"

[dependencies.opentelemetry_sdk]
version = "0.27"
features = ["rt-tokio"]

[dependencies.pin-project]
version = "1"

[dependencies.redis]
version = "0.27"
features = ["tokio-rustls-comp"]
default-features = false

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
]
default-features = false

[dependencies.rmcp]
version = "1"
features = [
    "server",
    "macros",
    "transport-streamable-http-server",
]
default-features = false

[dependencies.rmcp-macros]
version = "1"

[dependencies.schemars]
version = "0.8"

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
]
default-features = false

[dependencies.thiserror]
version = "1"

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

[dependencies.toml]
version = "0.8"

[dependencies.tonic]
version = "0.12"

[dependencies.tonin-client]
version = "0.3.2"

[dependencies.tonin-mcp-macros]
version = "0.3.2"

[dependencies.tower]
version = "0.5"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-opentelemetry]
version = "0.28"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.async-stream]
version = "0.3"

[dev-dependencies.async-trait]
version = "0.1"

[dev-dependencies.futures-util]
version = "0.3"

[dev-dependencies.opentelemetry]
version = "0.27"

[dev-dependencies.opentelemetry_sdk]
version = "0.27"
features = ["testing"]

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

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tracing-opentelemetry]
version = "0.28"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
