# 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 = "2021" rust-version = "1.75.0" name = "socketioxide" version = "0.15.1" authors = ["Théodore Prévot <"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Socket IO server implementation in rust 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" [package.metadata.docs.rs] features = [ "v4", "extensions", "tracing", "state", "msgpack", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "socketioxide" path = "src/lib.rs" [[test]] name = "acknowledgement" path = "tests/acknowledgement.rs" [[test]] name = "concurrent_emit" path = "tests/concurrent_emit.rs" [[test]] name = "connect" path = "tests/connect.rs" [[test]] name = "disconnect_reason" path = "tests/disconnect_reason.rs" [[test]] name = "extractors" path = "tests/extractors.rs" [[test]] name = "fixture" path = "tests/fixture.rs" [[test]] name = "utils" path = "tests/utils.rs" [[bench]] name = "extensions" path = "benches/extensions.rs" harness = false [dependencies.bytes] version = "1.7" features = ["serde"] [dependencies.engineioxide] version = "0.15.1" [dependencies.futures-core] version = "0.3" [dependencies.futures-util] version = "0.3" features = ["std"] default-features = false [dependencies.http] version = "1.1" [dependencies.http-body] version = "1.0" [dependencies.hyper] version = "1.5" [dependencies.matchit] version = "0.8" [dependencies.pin-project-lite] version = "0.2" [dependencies.rustversion] version = "1.0.18" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.socketioxide-core] version = "0.15.1" [dependencies.socketioxide-parser-common] version = "0.15.1" [dependencies.socketioxide-parser-msgpack] version = "0.15.1" optional = true [dependencies.state] version = "0.6.0" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.40" features = [ "rt", "time", ] [dependencies.tower-layer] version = "0.3" [dependencies.tower-service] version = "0.3" [dependencies.tracing] version = "0.1" optional = true [dev-dependencies.axum] version = "0.7" [dev-dependencies.criterion] version = "0.5" features = [ "rayon", "html_reports", ] default-features = false [dev-dependencies.http-body-util] version = "0.1" [dev-dependencies.hyper] version = "1.5" features = [ "server", "http1", ] [dev-dependencies.hyper-util] version = "0.1" features = [ "tokio", "client-legacy", ] [dev-dependencies.rand] version = "0.8" default-features = false [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.tokio] version = "1.40" features = [ "macros", "parking_lot", "rt-multi-thread", ] [dev-dependencies.tokio-tungstenite] version = "0.24" [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] __test_harness = ["engineioxide/__test_harness"] extensions = [] msgpack = ["dep:socketioxide-parser-msgpack"] state = ["dep:state"] tracing = [ "dep:tracing", "engineioxide/tracing", ] v4 = ["engineioxide/v3"]