innernet/wireguard-control/Cargo.toml

23 lines
640 B
TOML
Raw Permalink Normal View History

2021-03-29 17:22:14 +00:00
[package]
authors = ["K900 <me@0upti.me>", "Jake McGinty <jake@tonari.no>"]
2021-03-29 17:22:14 +00:00
categories = ["os::unix-apis"]
description = "High level bindings to the WireGuard embeddable C library"
edition = "2018"
license = "LGPL-2.1-or-later"
name = "wireguard-control"
readme = "README.md"
repository = "https://github.com/tonarino/innernet"
2021-11-11 09:42:21 +00:00
version = "1.5.1"
2021-03-29 17:22:14 +00:00
[dependencies]
base64 = "0.13"
hex = "0.4"
libc = "0.2"
[target.'cfg(target_os = "linux")'.dependencies]
2021-11-11 09:42:21 +00:00
wireguard-control-sys = { path = "../wireguard-control-sys", version = "1.5.1" }
2021-03-29 17:22:14 +00:00
[target.'cfg(not(target_os = "linux"))'.dependencies]
rand_core = "0.6"
curve25519-dalek = "4.0.0-pre.1"