[package]
name = "bolic-network"
version = "0.0.1"
edition = "2021"
license = "Apache-2.0"
homepage = "https://www.hyperbolic.xyz/"
description = "Modern network abstraction and tooling for building distributed systems"
[dependencies]
async-trait = "0.1.77"
tracing = "0.1.40"
futures = "0.3.30"
derive_builder = "0.20.0"
bytes = "1.5.0"
parking_lot = { version = "0.12.1", features = ["send_guard"] }
serde = { version = "1.0.197", features = ["derive"] }
rand = "0.8.5"
rmp-serde = "1.1.2"
url = { version = "2.5.0", features = ["serde"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.91"
wasm-bindgen-futures = "=0.4.40"
getrandom = { version = "0.2.12", features = ["js"] }
tokio = { version = "1.36.0", features = [
"sync",
"macros",
"rt",
"time",
"io-util",
] }
tokio-util = "0.7.10"
web-sys = { version = "0.3.68", features = [
"Window",
"WebSocket",
"MessageEvent",
"DedicatedWorkerGlobalScope",
"BinaryType",
] }
js-sys = "0.3.68"
console_error_panic_hook = { version = "0.1.7", optional = true }
wasm-futures-executor = "0.2.0"
send_wrapper = "0.6.0"
tracing-wasm = "0.2.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.36.0", features = [
"sync",
"macros",
"rt",
"time",
"net",
"io-util",
"rt-multi-thread",
] }
tokio-util = "0.7.10"
mio = "0.8.10"
tungstenite = "0.21.0"
ring = { version = "0.17", optional = true }
quiche = { version = "0.20.0", optional = true }
[features]
default = ["console_error_panic_hook"]