zlayer-overlayd 0.12.2

Standalone ZLayer overlay daemon: owns the WireGuard/Wintun adapter, HCN/bridge mechanics, IP allocation, DNS and NAT; driven by the main daemon over IPC
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.85"
name = "zlayer-overlayd"
version = "0.12.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Standalone ZLayer overlay daemon: owns the WireGuard/Wintun adapter, HCN/bridge mechanics, IP allocation, DNS and NAT; driven by the main daemon over IPC"
readme = false
license = "Apache-2.0"
repository = "https://github.com/BlackLeafDigital/ZLayer"

[lib]
name = "zlayer_overlayd"
path = "src/lib.rs"

[[bin]]
name = "zlayer-overlayd"
path = "src/main.rs"

[[test]]
name = "ipc_roundtrip"
path = "tests/ipc_roundtrip.rs"

[[test]]
name = "windows_hcn_e2e"
path = "tests/windows_hcn_e2e.rs"

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.ipnet]
version = "2"

[dependencies.ipnetwork]
version = "0.21"

[dependencies.parking_lot]
version = "0.12"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.49"
features = [
    "full",
    "tracing",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
    "fmt",
]

[dependencies.zlayer-core]
version = "0.12.2"

[dependencies.zlayer-overlay]
version = "0.12.2"
features = ["nat"]

[dependencies.zlayer-paths]
version = "0.12.2"

[dependencies.zlayer-types]
version = "0.12.2"

[target.'cfg(target_os = "linux")'.dependencies.futures-util]
version = "0.3"

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"

[target.'cfg(target_os = "linux")'.dependencies.netlink-packet-route]
version = "0.19"

[target.'cfg(target_os = "linux")'.dependencies.nix]
version = "0.31"
features = [
    "fs",
    "signal",
    "process",
    "user",
    "sched",
    "mount",
    "term",
]

[target.'cfg(target_os = "linux")'.dependencies.rtnetlink]
version = "0.14"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
    "Win32_Foundation",
    "Win32_System_HostComputeSystem",
    "Win32_System_HostComputeNetwork",
    "Win32_System_Threading",
    "Win32_System_IO",
    "Win32_Security",
]

[target."cfg(windows)".dependencies.windows-service]
version = "0.8"

[target."cfg(windows)".dependencies.zlayer-hns]
version = "0.12.2"

[lints.clippy]
all = "warn"
pedantic = "warn"

[lints.rust]
dead_code = "warn"
unsafe_code = "warn"