[package]
name = "hubrt"
version = "0.1.2"
edition = "2021"
authors = ["Serhij S. <div@altertech.com>"]
license = "Apache-2.0"
description = "sync/async data hub"
readme = "README.md"
[package.metadata.docs.rs]
features = ["sync", "async"]
[package.metadata.playground]
features = ["sync", "async"]
[lib]
name = "hubrt"
path = "src/lib.rs"
[dependencies]
parking_lot = "0.12.1"
async-channel = { version = "2.2.0", optional = true }
tokio = { version = "1.36.0", features = ["rt", "time"], optional = true }
crossbeam = { version = "0.8.4", optional = true }
tracing = "0.1.40"
[features]
async = ["tokio", "async-channel"]
sync = ["crossbeam"]
default = ["sync"]