[[bin]]
name = "hakuban-router"
path = "src/bin/hakuban-router.rs"
required-features = ["tokio-runtime", "downstream"]
[dependencies.bincode]
version = "2.0"
[dependencies.drop_guard]
version = "0.3"
[dependencies.fnv]
version = "1.0"
[dependencies.futures]
version = "0.3"
[dependencies.itertools]
version = "0.14"
[dependencies.log]
version = "0.4"
[dependencies.rand]
optional = true
version = "0.9"
[dependencies.serde]
features = ["derive", "rc"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dev-dependencies.getrandom]
features = ["wasm_js"]
version = "0.3"
[dev-dependencies.nix]
features = ["signal"]
version = "0.30"
[dev-dependencies.rand]
version = "0.9"
[[example]]
name = "all-top"
path = "examples/all-top.rs"
[features]
console_error_panic_hook = ["dep:console_error_panic_hook"]
default = ["tokio-runtime", "ffi", "downstream"]
downstream = ["dep:rand"]
ffi = []
jemalloc = ["dep:tikv-jemallocator"]
musl = ["openssl/vendored"]
tokio-runtime = ["dep:tokio", "dep:async-tungstenite", "dep:tokio-native-tls"]
wasm = ["console_error_panic_hook"]
[lib]
crate-type = ["rlib", "cdylib"]
name = "hakuban"
path = "src/lib.rs"
[package]
authors = ["yunta <maciej.blomberg@mikoton.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["asynchronous", "network-programming"]
description = "Data-object sharing library"
edition = "2021"
keywords = ["data", "object", "share", "synchronize", "network"]
license = "MIT"
name = "hakuban"
readme = "README.md"
repository = "https://gitlab.com/yunta/hakuban/"
version = "0.8.4"
[package.metadata.wasm-pack.profile.profiling]
wasm-opt = ["-g", "-Oz"]
[profile.release]
lto = true
opt-level = "s"
[target.'cfg(not(target_family="wasm"))'.dependencies.async-tungstenite]
features = ["tokio-runtime", "tokio-native-tls"]
optional = true
version = "0.31"
[target.'cfg(not(target_family="wasm"))'.dependencies.clap]
features = ["derive"]
version = "4.5"
[target.'cfg(not(target_family="wasm"))'.dependencies.duration-str]
version = "0.17"
[target.'cfg(not(target_family="wasm"))'.dependencies.env_logger]
version = "0.11"
[target.'cfg(not(target_family="wasm"))'.dependencies.hostname]
version = "0.4"
[target.'cfg(not(target_family="wasm"))'.dependencies.openssl]
version = "0.10"
[target.'cfg(not(target_family="wasm"))'.dependencies.tikv-jemallocator]
optional = true
version = "0.6"
[target.'cfg(not(target_family="wasm"))'.dependencies.tokio]
features = ["full"]
optional = true
version = "1.47"
[target.'cfg(not(target_family="wasm"))'.dependencies.tokio-native-tls]
optional = true
version = "0.3"
[target.'cfg(not(target_family="wasm"))'.dependencies.url]
version = "2.5"
[target.'cfg(not(target_family="wasm"))'.dev-dependencies.colored]
version = "3.0"
[target.'cfg(not(target_family="wasm"))'.dev-dependencies.permutations]
version = "0.1"
[target.'cfg(not(target_family="wasm"))'.dev-dependencies.sysinfo]
version = "0.34"
[target.'cfg(not(target_family="wasm"))'.dev-dependencies.tokio-test]
version = "0.4"
[target.'cfg(target_env="musl")'.dependencies.openssl-probe]
version = "0.1"
[target.'cfg(target_family="wasm")'.dependencies.console_error_panic_hook]
optional = true
version = "0.1"
[target.'cfg(target_family="wasm")'.dependencies.console_log]
version = "1.0"
[target.'cfg(target_family="wasm")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_family="wasm")'.dependencies.web-time]
version = "1.1"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "introspective"
path = "tests/introspective.rs"
[[test]]
name = "performance"
path = "tests/performance.rs"