# 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 = "catcher-ws"
version = "0.3.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebSocket client for catcher — resilient reconnect, heartbeat, multi-endpoint racing"
readme = "README.md"
license = "MIT"
repository = "https://github.com/eric8810/catcher"

[features]
default = ["rustls-tls"]
native-tls = ["tokio-tungstenite/native-tls"]
rustls-tls = ["tokio-tungstenite/rustls-tls-webpki-roots"]

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

[dependencies.backon]
version = "1"

[dependencies.base64]
version = "0.22"

[dependencies.catcher-core]
version = "0.3.2"

[dependencies.futures-util]
version = "0.3"

[dependencies.rmp-serde]
version = "1"

[dependencies.rmpv]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "sync",
    "time",
    "net",
    "io-util",
    "macros",
]

[dependencies.tokio-tungstenite]
version = "0.29"
features = [
    "connect",
    "handshake",
]
default-features = false
