# 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-runtime-fork"
version = "0.1.13"
authors = ["Folk Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fork-based worker runtime for Folk — prefork master with warm OPcache"
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_runtime_fork"
path = "src/lib.rs"

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

[dependencies.anyhow]
version = "1"

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

[dependencies.bytes]
version = "1"

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

[dependencies.folk-core]
version = "0.1.1"

[dependencies.folk-protocol]
version = "0.1.1"

[dependencies.folk-runtime-pipe]
version = "0.1.2"

[dependencies.futures-util]
version = "0.3"
features = ["sink"]

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

[dependencies.rmpv]
version = "1"
features = ["with-serde"]

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

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.rmpv]
version = "1"
features = ["with-serde"]

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

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

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[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"
