# 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-api"
version = "0.2.3"
authors = ["Folk Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Plugin contract for the Folk PHP application server"
readme = "README.md"
keywords = [
    "folk",
    "php",
    "plugin",
    "async",
]
categories = [
    "asynchronous",
    "web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/Folk-Project/folk-api"

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.bytes]
version = "1"

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

[dependencies.serde_json]
version = "1"

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

[dependencies.tracing]
version = "0.1"

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