# 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"
name = "socketio-rs"
version = "0.1.8"
description = "An implementation of a socketio written in rust."
keywords = [
    "socketio",
    "engineio",
    "network",
    "protocol",
]
categories = [
    "network-programming",
    "web-programming",
    "web-programming::websocket",
    "web-programming::socketio",
]
license = "MIT"
repository = "https://github.com/socket-iox/socket-io"
resolver = "1"

[lib]

[dependencies.async-stream]
version = "0.3"

[dependencies.backoff]
version = "0.4"

[dependencies.base64]
version = "0.13"

[dependencies.bytes]
version = "1"

[dependencies.dashmap]
version = "5"

[dependencies.engineio-rs]
version = "0.1.5"
default-features = false

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

[dependencies.parking_lot]
version = "0.12"

[dependencies.regex]
version = "1.6"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.16"

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.2"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "json",
    "env-filter",
]

[features]
client = ["engineio-rs/client"]
default = [
    "server",
    "client",
]
server = ["engineio-rs/server"]