2021-03-29 17:22:14 +00:00
|
|
|
[package]
|
|
|
|
authors = ["K900 <me@0upti.me>"]
|
|
|
|
categories = ["os::unix-apis"]
|
|
|
|
description = "High level bindings to the WireGuard embeddable C library"
|
|
|
|
edition = "2018"
|
|
|
|
license = "LGPL-2.1-or-later"
|
|
|
|
name = "wgctrl"
|
|
|
|
publish = false
|
|
|
|
readme = "../README.md"
|
2021-04-24 14:37:23 +00:00
|
|
|
version = "1.2.0"
|
2021-03-29 17:22:14 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
base64 = "0.13"
|
|
|
|
hex = "0.4"
|
|
|
|
libc = "0.2"
|
|
|
|
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
|
|
wgctrl-sys = { path = "../wgctrl-sys" }
|
|
|
|
|
|
|
|
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
|
|
|
rand_core = "0.6"
|
|
|
|
subtle = "2"
|
2021-04-05 17:19:21 +00:00
|
|
|
x25519-dalek = { git = "https://github.com/mcginty/x25519-dalek", branch = "master" } # pending https://github.com/dalek-cryptography/x25519-dalek/pull/64
|