[package]
edition = "2024"
rust-version = "1.86.0"
name = "socketioxide-parser-common"
version = "0.17.1"
authors = ["Théodore Prévot <"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common parser for the socketioxide protocol"
homepage = "https://github.com/totodore/socketioxide"
readme = "README.md"
keywords = [
"socketio",
"tower",
"axum",
"hyper",
"websocket",
]
categories = [
"asynchronous",
"network-programming",
"web-programming::websocket",
]
license = "MIT"
repository = "https://github.com/totodore/socketioxide"
resolver = "2"
[lib]
name = "socketioxide_parser_common"
path = "src/lib.rs"
[[bench]]
name = "packet_decode"
path = "benches/packet_decode.rs"
harness = false
[[bench]]
name = "packet_encode"
path = "benches/packet_encode.rs"
harness = false
[[bench]]
name = "value_decode"
path = "benches/value_decode.rs"
harness = false
[[bench]]
name = "value_encode"
path = "benches/value_encode.rs"
harness = false
[dependencies.bytes]
version = "1.11"
features = ["serde"]
[dependencies.itoa]
version = "1.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.socketioxide-core]
version = "0.18"
[dev-dependencies.criterion]
version = "4"
package = "codspeed-criterion-compat"
[dev-dependencies.rmpv]
version = "1.3"
features = ["with-serde"]
[lints.clippy]
all = "warn"
complexity = "warn"
correctness = "deny"
perf = "warn"
suspicious = "warn"
[lints.rust]
future_incompatible = "warn"
nonstandard_style = "warn"
rust_2018_idioms = "warn"
rust_2024_compatibility = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]