[package]
edition = "2024"
name = "hyphae"
version = "0.6.2"
authors = ["Trevor"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reactive cells and runtime primitives for rship"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ignition-is-go/hyphae"
resolver = "2"
[package.metadata.flux]
tasks = [
"build",
"test",
"lint",
"publish",
]
[features]
async = [
"flume",
"futures-core",
]
default = []
inspector = [
"serde",
"serde_json",
"tokio",
"uuid/serde",
]
trace = []
[lib]
name = "hyphae"
path = "src/lib.rs"
[[bench]]
name = "latency"
path = "benches/latency.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.arc-swap]
version = "1.7.1"
[dependencies.crossbeam]
version = "0.8"
[dependencies.dashmap]
version = "6.1.0"
[dependencies.flume]
version = "0.11"
optional = true
[dependencies.futures-core]
version = "0.3"
optional = true
[dependencies.log]
version = "0.4"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1"
optional = true
[dependencies.tokio]
version = "1"
features = [
"net",
"io-util",
"rt",
"time",
"sync",
"macros",
]
optional = true
[dependencies.uuid]
version = "1.19.0"
features = ["v4"]
[dev-dependencies.criterion]
version = "0.5"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rayon]
version = "1.10"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.spin_sleep]
version = "1"
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]
[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1"
features = ["js"]
[lints.clippy]
disallowed_types = "deny"