# 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 = "trz-gateway-client"
version = "0.2.8"
authors = ["Lamparo <LamparoS@Pavy.one>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Secure Proxy / Agents implementation in Rust"
readme = "README.md"
keywords = [
    "terrazzo",
    "gateway",
    "agent",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/Terrazzo-Web/Terrazzo"
resolver = "2"

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

[dependencies.futures]
version = "0.3.32"

[dependencies.hostname]
version = "0.4.2"

[dependencies.http]
version = "1.4.1"

[dependencies.humantime]
version = "2.3.0"

[dependencies.mime]
version = "0.3.17"

[dependencies.nameth]
version = "0.2.8"

[dependencies.openssl]
version = "0.10.80"

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

[dependencies.prost-types]
version = "0.14.4"

[dependencies.reqwest]
version = "0.13.4"

[dependencies.scopeguard]
version = "1.2.0"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0.150"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"

[dependencies.tokio-rustls]
version = "0.26.4"

[dependencies.tokio-tungstenite]
version = "0.29.0"
features = ["rustls-tls-native-roots"]

[dependencies.tonic]
version = "0.14.6"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-futures]
version = "0.2.5"
features = ["futures-03"]

[dependencies.trz-gateway-common]
version = "0.2.8"

[dependencies.uuid]
version = "1.23.2"
features = [
    "fast-rng",
    "v4",
]

[dev-dependencies.portpicker]
version = "0.1.1"

[dev-dependencies.tempfile]
version = "3.27.0"

[dev-dependencies.terrazzo-fixture]
version = "0.2.8"

[dev-dependencies.trz-gateway-server]
version = "0.2.8"

[lints.clippy]
enum_variant_names = "allow"
needless_return = "allow"
too_many_arguments = "allow"
type_complexity = "allow"

[lints.rust]
unused = "deny"
unused_crate_dependencies = "deny"
warnings = "deny"
