nl-wireguard 0.1.0

Linux netlink library for wireguard management
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"
name = "nl-wireguard"
version = "0.1.0"
authors = ["Gris Ge <fge@redhat.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Linux netlink library for wireguard management"
homepage = "https://github.com/rust-netlink/nl-wireguard"
documentation = "https://docs.rs/nl-wireguard"
readme = "README.md"
keywords = ["network"]
categories = [
    "network-programming",
    "os",
]
license = "MIT"
repository = "https://github.com/rust-netlink/nl-wireguard"

[features]
default = ["tokio_socket"]
smol_socket = [
    "netlink-proto/smol_socket",
    "async-std",
]
tokio_socket = [
    "netlink-proto/tokio_socket",
    "tokio",
]

[lib]
name = "nl_wireguard"
crate-type = ["lib"]
path = "src/lib.rs"

[[example]]
name = "get_wireguard_info"
path = "examples/get_wireguard_info.rs"

[[example]]
name = "set_wireguard"
path = "examples/set_wireguard.rs"

[dependencies.async-std]
version = "1.13.0"
optional = true

[dependencies.base64]
version = "0.22.0"

[dependencies.futures-channel]
version = "0.3.11"

[dependencies.futures-util]
version = "0.3.11"

[dependencies.genetlink]
version = "0.2.6"
default-features = false

[dependencies.log]
version = "0.4.26"

[dependencies.netlink-packet-core]
version = "0.8.0"

[dependencies.netlink-packet-generic]
version = "0.4.0"

[dependencies.netlink-packet-wireguard]
version = "0.3.0"

[dependencies.netlink-proto]
version = "0.12.0"
default-features = false

[dependencies.netlink-sys]
version = "0.8.7"

[dependencies.tokio]
version = "1.44.0"
features = ["rt"]
optional = true

[dev-dependencies.env_logger]
version = "0.10.0"

[dev-dependencies.futures-util]
version = "0.3.11"

[dev-dependencies.tokio]
version = "1.9.0"
features = [
    "macros",
    "rt-multi-thread",
]