[package]
edition = "2024"
rust-version = "1.94.0"
name = "engineioxide"
version = "0.17.4"
authors = ["Théodore Prévot <"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Engine IO server implementation as a Tower Service."
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"
[package.metadata.docs.rs]
features = ["v3"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
__test_harness = []
tracing = ["dep:tracing"]
v3 = [
"memchr",
"unicode-segmentation",
"itoa",
]
[lib]
name = "engineioxide"
path = "src/lib.rs"
[[test]]
name = "disconnect_reason"
path = "tests/disconnect_reason.rs"
[[test]]
name = "fixture"
path = "tests/fixture.rs"
[[bench]]
name = "packet_decode"
path = "benches/packet_decode.rs"
harness = false
[[bench]]
name = "packet_encode"
path = "benches/packet_encode.rs"
harness = false
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1.11"
features = ["serde"]
[dependencies.engineioxide-core]
version = "0.2"
[dependencies.futures-core]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false
[dependencies.http]
version = "1.4"
[dependencies.http-body]
version = "1.0"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1.9"
[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]
[dependencies.itoa]
version = "1.0"
optional = true
[dependencies.memchr]
version = "2.7"
optional = true
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.smallvec]
version = "1.15"
features = [
"union",
"serde",
]
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.51"
features = [
"rt",
"time",
]
[dependencies.tokio-tungstenite]
version = "0.29"
[dependencies.tokio-util]
version = "0.7.18"
features = ["io"]
default-features = false
[dependencies.tower-layer]
version = "0.3"
[dependencies.tower-service]
version = "0.3"
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.unicode-segmentation]
version = "1.13"
optional = true
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.criterion]
version = "4"
package = "codspeed-criterion-compat"
[dev-dependencies.hyper]
version = "1.9"
features = [
"server",
"http1",
]
[dev-dependencies.tokio]
version = "1.51"
features = [
"macros",
"parking_lot",
]
[dev-dependencies.tokio-stream]
version = "0.1"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[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)"]