wsio-core 0.12.4

Shared core library for ws.io — provides common types, traits, and abstractions for WebSocket-based communication.
Documentation
# 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 = "2024"
name = "wsio-core"
version = "0.12.4"
authors = ["kiki-kanri"]
build = false
include = [
    "Cargo.toml",
    "README.md",
    "src/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared core library for ws.io — provides common types, traits, and abstractions for WebSocket-based communication."
homepage = "https://github.com/ws-io/ws.io-rs"
readme = "README.md"
keywords = [
    "messaging",
    "network",
    "realtime",
    "websocket",
    "ws",
]
categories = [
    "asynchronous",
    "concurrency",
    "network-programming",
    "web-programming::websocket",
]
license = "MIT"
repository = "https://github.com/ws-io/ws.io-rs"

[features]
all = [
    "packet-codec-cbor",
    "packet-codec-msgpack",
    "packet-codec-postcard",
    "packet-codec-sonic-rs",
]
default = []
full = ["all"]
packet-codec-cbor = ["dep:ciborium"]
packet-codec-msgpack = ["dep:rmp-serde"]
packet-codec-postcard = ["dep:postcard"]
packet-codec-sonic-rs = ["dep:sonic-rs"]

[lib]
name = "wsio_core"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0.100"

[dependencies.ciborium]
version = "0.2.2"
optional = true

[dependencies.kikiutils]
version = "0.7.2"
features = ["fx-collections"]

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.postcard]
version = "1.1.3"
features = ["alloc"]
optional = true
default-features = false

[dependencies.rmp-serde]
version = "1.3.1"
optional = true

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_repr]
version = "0.1.20"

[dependencies.sonic-rs]
version = "0.5.6"
optional = true

[dependencies.tokio]
version = "1.49.0"
features = [
    "macros",
    "rt",
    "sync",
]

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

[dependencies.tungstenite]
version = "0.29.0"
default-features = false

[dev-dependencies.criterion]
version = "0.8.2"
features = ["async_tokio"]