[package]
edition = "2024"
rust-version = "1.85"
name = "folk-api"
version = "0.1.2"
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 = "MIT"
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"]