[package]
edition = "2024"
rust-version = "1.85"
name = "folk-core"
version = "0.1.17"
authors = ["Folk Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Server core for Folk PHP application server — worker pool, plugin registry, admin RPC"
homepage = "https://github.com/Folk-Project"
readme = false
keywords = [
"folk",
"php",
"server",
"async",
]
categories = [
"asynchronous",
"web-programming",
]
license = "MIT"
repository = "https://github.com/Folk-Project/folk-core"
resolver = "2"
[lib]
name = "folk_core"
path = "src/lib.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "e2e"
path = "tests/e2e.rs"
[[test]]
name = "logging"
path = "tests/logging.rs"
[[test]]
name = "mock_runtime"
path = "tests/mock_runtime.rs"
[[test]]
name = "plugin_registry"
path = "tests/plugin_registry.rs"
[[test]]
name = "rpc_server"
path = "tests/rpc_server.rs"
[[test]]
name = "worker_pool"
path = "tests/worker_pool.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.bytes]
version = "1"
[dependencies.figment]
version = "0.10"
features = [
"toml",
"env",
]
[dependencies.folk-api]
version = "0.1.1"
[dependencies.folk-protocol]
version = "0.1.1"
[dependencies.futures-util]
version = "0.3"
features = ["sink"]
[dependencies.humantime-serde]
version = "1"
[dependencies.prometheus]
version = "0.13"
features = ["process"]
[dependencies.rmp-serde]
version = "1"
[dependencies.rmpv]
version = "1"
features = ["with-serde"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-util]
version = "0.7"
features = ["codec"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"json",
"env-filter",
]
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "warn"