# 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 = "2021"
name = "tf-tonic"
version = "0.1.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TrustForge middleware for Tonic. Provides drop-in zero-trust request verification, capability delegation, and policy enforcement for Tonic servers."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/KodyDennon/TrustForge"

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

[dependencies.http]
version = "1"

[dependencies.tf-decide-client]
version = "0.1.8"

[dependencies.tf-otel]
version = "0.1.8"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "sync",
]

[dependencies.tonic]
version = "0.12"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.http-body-util]
version = "0.1"

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

[dev-dependencies.hyper-util]
version = "0.1"
features = ["tokio"]

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
]
