# 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.85"
name = "folk-plugin-grpc"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gRPC plugin for Folk — unary call passthrough to PHP workers via tonic"
homepage = "https://github.com/Folk-Project"
readme = "README.md"
keywords = [
    "folk",
    "php",
    "grpc",
    "plugin",
]
categories = [
    "asynchronous",
    "web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/Folk-Project/folk-plugin-grpc"

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.axum]
version = "0.8"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.flate2]
version = "1"

[dependencies.folk-api]
version = "0.3"

[dependencies.http]
version = "1"

[dependencies.http-body]
version = "1.0.1"

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

[dependencies.humantime-serde]
version = "1"

[dependencies.prost]
version = "0.14.3"

[dependencies.protox]
version = "0.9.1"

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

[dependencies.serde_json]
version = "1"

[dependencies.socket2]
version = "0.5"
features = ["all"]

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

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

[dependencies.tonic]
version = "0.14"
features = ["tls-ring"]

[dependencies.tonic-health]
version = "0.14"

[dependencies.tonic-reflection]
version = "0.14.5"

[dependencies.tracing]
version = "0.1"

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

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