wireguard-embed 1.0.0

std + alloc driver for wireguard-sans-io: BoringTun-style API (built-in clock, OS RNG, rate limiter, packet queue) wrapping the no_std core
# 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 = "2024"
rust-version = "1.85"
name = "wireguard-embed"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "std + alloc driver for wireguard-sans-io: BoringTun-style API (built-in clock, OS RNG, rate limiter, packet queue) wrapping the no_std core"
readme = false
keywords = [
    "wireguard",
    "noise",
    "vpn",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mjsabby/wireguard-sans-io"

[features]
async = ["dep:tokio"]
default = []

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

[dependencies.getrandom]
version = "0.2"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "time",
    "sync",
    "macros",
    "rt",
]
optional = true
default-features = false

[dependencies.wireguard-chacha-simd]
version = "1.0.0"

[dependencies.wireguard-sans-io]
version = "1.0.0"

[dev-dependencies.tokio]
version = "1"
features = [
    "net",
    "time",
    "sync",
    "macros",
    "rt-multi-thread",
]

[lints.clippy]
arithmetic_side_effects = "deny"
expect_used = "deny"
indexing_slicing = "deny"
panic = "deny"
unwrap_used = "deny"

[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"