# 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-client"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client-side primitives shared between generated tonin service clients: AuthCtx, retry/circuit-breaker config, OTel propagation. Tiny dep tree — peer services depend on this without pulling in the server framework."
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_client"
path = "src/lib.rs"

[dependencies.dashmap]
version = "6"

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

[dependencies.http]
version = "1"

[dependencies.prost]
version = "0.13"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "sync",
    "time",
]

[dependencies.tonic]
version = "0.12"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "macros",
    "rt",
    "time",
]
