nvpn 4.0.22

CLI and daemon for Nostr VPN private mesh networks
# 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"
name = "nvpn"
version = "4.0.22"
authors = ["sirius"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI and daemon for Nostr VPN private mesh networks"
readme = "README.md"
license = "MIT"
repository = "https://github.com/mmalmi/nostr-vpn"
resolver = "2"

[features]
default = ["embedded-fips"]
embedded-fips = ["dep:fips-endpoint"]

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

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.crab_nat]
version = "0.7"

[dependencies.dirs]
version = "6"

[dependencies.fips-endpoint]
version = "0.3.9"
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.igd-next]
version = "0.16"
features = ["aio_tokio"]

[dependencies.netdev]
version = "0.40"

[dependencies.nostr-sdk]
version = "0.35"
features = ["nip44"]
default-features = false

[dependencies.nostr-vpn-core]
version = "4.0.16"

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "0.9"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.nostr-sdk]
version = "0.35"
features = ["nip44"]
default-features = false

[dev-dependencies.rand]
version = "0.9"

[target.'cfg(target_os = "windows")'.dependencies.boringtun]
version = "0.7"

[target.'cfg(target_os = "windows")'.dependencies.nostr-vpn-wintun]
version = "4.0.16"

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

[target.'cfg(target_os = "windows")'.dependencies.wintun]
version = "0.5.1"

[target."cfg(unix)".dependencies.boringtun]
version = "0.7"
features = ["device"]

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