gutd 2.6.0

WireGuard traffic obfuscation library — QUIC-like encapsulation, cross-platform userspace proxy, optional eBPF fast path on Linux
# 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"
name = "gutd"
version = "2.6.0"
authors = ["GUT Project"]
build = "build.rs"
exclude = [
    "target/",
    "tmp/",
    "docker/",
    "tests/",
    ".github/",
    "*.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WireGuard traffic obfuscation library — QUIC-like encapsulation, cross-platform userspace proxy, optional eBPF fast path on Linux"
homepage = "https://github.com/sh0rch/gutd"
readme = "README.md"
keywords = [
    "wireguard",
    "vpn",
    "obfuscation",
    "quic",
    "tunnel",
]
categories = [
    "network-programming",
    "cryptography",
]
license = "MIT"
repository = "https://github.com/sh0rch/gutd"

[features]
bpf = ["tc_ebpf"]
default = ["tc_ebpf"]
tc_ebpf = [
    "libbpf-rs",
    "libbpf-sys",
    "libbpf-cargo",
]
vendored-libelf = ["libbpf-sys/vendored-libelf"]

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

[[bin]]
name = "gutd"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.getrandom]
version = "0.2"

[build-dependencies.libbpf-cargo]
version = "0.24"
optional = true

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

[target.'cfg(target_os = "linux")'.dependencies.libbpf-rs]
version = "0.24"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.libbpf-sys]
version = "1.6"
features = ["vendored-zlib"]
optional = true

[target.'cfg(target_os = "linux")'.dependencies.nix]
version = "0.29"
features = ["uio"]

[profile.dev]
opt-level = 0
debug = 2

[profile.release]
opt-level = "z"
codegen-units = 1
panic = "abort"
strip = true

[profile.release.package."*"]
opt-level = "z"