[package]
edition = "2024"
rust-version = "1.85"
name = "folk-protocol"
version = "0.1.17"
authors = ["Folk Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Length-prefixed MessagePack-RPC wire protocol for Folk"
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_protocol"
path = "src/lib.rs"
[[test]]
name = "codec"
path = "tests/codec.rs"
[[test]]
name = "proptest"
path = "tests/proptest.rs"
[dependencies.bytes]
version = "1"
[dependencies.rmp-serde]
version = "1"
[dependencies.rmpv]
version = "1"
features = ["with-serde"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio-util]
version = "0.7"
features = ["codec"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[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"