zenith-runtime 0.1.0

Zenith 全链路数据面运行时:WorkerRuntime(eBPF + XSK + Worker 集成)、三级 Supervisor、ChangeSet 热切换、RuntimeGraph 拓扑规划
[package]
name = "zenith-runtime"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
documentation.workspace = true
authors.workspace = true
description = "Zenith 全链路数据面运行时:WorkerRuntime(eBPF + XSK + Worker 集成)、三级 Supervisor、ChangeSet 热切换、RuntimeGraph 拓扑规划"
keywords = ["zenith", "runtime", "worker", "supervisor", "ebpf"]
categories = ["network-programming", "os::linux-apis"]
readme = "../../README.md"

[dependencies]
zenith-foundation.workspace = true
zenith-net.workspace = true
# 环境能力检测与数据面 Profile 选择(WorkerRuntime 构造时接入)
zenith-capability.workspace = true
# 治理闭环:指标采集(MetricsCollector)与故障快照(FaultRecorder)可选注入
zenith-observability.workspace = true
thiserror.workspace = true
crossbeam.workspace = true
tokio = { workspace = true }
tracing.workspace = true
# 极致性能:FxHashMap 替代 std HashMap,对小键(&str/u64)哈希快 ~5x
rustc-hash.workspace = true

# Linux 数据面(AF_XDP/eBPF/libc)仅 Linux 可用;非 Linux 目标退化为可移植子集
[target.'cfg(target_os = "linux")'.dependencies]
zenith-linux.workspace = true
zenith-ebpf.workspace = true
zenith-net = { workspace = true, features = ["linux"] }

[lints]
workspace = true

[features]
default = []

[dev-dependencies]
pretty_assertions.workspace = true