[package]
name = "cometd-client"
version = "0.3.6"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/BratSinot/cometd-client"
homepage = "https://github.com/BratSinot/cometd-client"
description = "Client for LongPolling CometD connections"
categories = ["web-programming"]
keywords = ["http", "cometd"]
[workspace]
members = [
"./examples/client",
]
[features]
all = ["basic"]
basic = ["base64"]
[dependencies]
arc-swap = "1.6.*"
async-broadcast = "0.5.*"
cookie = "0.17.*"
hyper = { version = "0.14.*", features = ["tcp", "http1", "http2", "client"] }
serde = { version = "1.0.*", features = ["derive"] }
serde_json = "1.0.*"
serde_with = { version = "3.0.*", default-features = false, features = ["macros"] }
thiserror = "1.0.*"
tokio = { version = "1", features = ["macros"] }
url = "2.3.*"
base64 = { version = "0.21.*", optional = true }
[dev-dependencies]
cometd-client = { path = "./", features = ["all"] }