[package]
name = "wireguard-embed"
version = "1.0.0"
edition = "2024"
rust-version = "1.85"
license = "MIT OR Apache-2.0"
repository = "https://github.com/mjsabby/wireguard-sans-io"
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"
keywords = ["wireguard", "noise", "vpn"]
[features]
default = []
async = ["dep:tokio"]
[dependencies]
wireguard-sans-io = { path = "..", version = "1.0.0" }
wireguard-chacha-simd = { path = "../simd", version = "1.0.0" }
getrandom = "0.2"
tokio = { version = "1", optional = true, default-features = false, features = ["net", "time", "sync", "macros", "rt"] }
[dev-dependencies]
tokio = { version = "1", features = ["net", "time", "sync", "macros", "rt-multi-thread"] }
[lints.rust]
unsafe_code = "forbid"
missing_docs = "deny"
[lints.clippy]
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
indexing_slicing = "deny"
arithmetic_side_effects = "deny"