2019-03-22 19:36:00 +00:00
|
|
|
[package]
|
|
|
|
name = "boringtun"
|
2019-03-23 18:08:01 +00:00
|
|
|
description = "an implementation of the WireGuard® protocol designed for portability and speed"
|
2022-02-15 02:01:20 +00:00
|
|
|
version = "0.4.0"
|
|
|
|
authors = ["Noah Kennedy <nkennedy@cloudflare.com>", "Andy Grover <agrover@cloudflare.com>"]
|
2019-03-23 18:08:01 +00:00
|
|
|
license = "BSD-3-Clause"
|
|
|
|
repository = "https://github.com/cloudflare/boringtun"
|
2022-02-15 02:01:20 +00:00
|
|
|
documentation = "https://docs.rs/boringtun/0.4.0/boringtun/"
|
2019-03-26 16:48:55 +00:00
|
|
|
edition = "2018"
|
2019-03-22 19:36:00 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-06-29 23:53:29 +00:00
|
|
|
base64 = "0.13"
|
2020-04-05 06:45:23 +00:00
|
|
|
hex = "0.4"
|
2022-02-12 22:45:08 +00:00
|
|
|
untrusted = "0.9.0"
|
2019-03-22 19:36:00 +00:00
|
|
|
libc = "0.2"
|
2022-02-12 22:45:08 +00:00
|
|
|
parking_lot = "0.12"
|
2021-10-22 21:20:29 +00:00
|
|
|
tracing = "0.1.29"
|
2022-02-12 22:45:08 +00:00
|
|
|
ip_network = "0.4.1"
|
|
|
|
ip_network_table = "0.2.0"
|
2022-02-15 03:01:44 +00:00
|
|
|
zeroize = { version = "1.5.2", features = ["zeroize_derive"]}
|
2021-06-29 23:53:29 +00:00
|
|
|
|
2021-10-22 21:20:29 +00:00
|
|
|
[dependencies.tracing-subscriber]
|
2022-02-12 22:45:08 +00:00
|
|
|
version = "0.3"
|
2021-10-22 21:20:29 +00:00
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.tracing-appender]
|
2022-02-12 22:45:08 +00:00
|
|
|
version = "0.2.0"
|
2021-10-22 21:20:29 +00:00
|
|
|
optional = true
|
|
|
|
|
2021-06-29 23:53:29 +00:00
|
|
|
[dev-dependencies]
|
2022-02-12 22:45:08 +00:00
|
|
|
tracing-subscriber = "0.3"
|
2019-03-22 19:36:00 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch="arm"))'.dependencies]
|
2020-01-28 06:42:55 +00:00
|
|
|
ring = "0.16"
|
2019-03-22 19:36:00 +00:00
|
|
|
|
2021-08-09 17:13:35 +00:00
|
|
|
[target.'cfg(not(any(target_os="windows", target_os="ios", target_os="android")))'.dependencies]
|
|
|
|
clap = { version = "2.33", default-features = false, features = ["suggestions"], optional = true }
|
|
|
|
daemonize = { version = "0.4.1", optional = true }
|
|
|
|
|
2019-03-22 19:36:00 +00:00
|
|
|
[target.'cfg(target_os="android")'.dependencies]
|
2022-02-12 22:45:08 +00:00
|
|
|
jni = "0.19.0"
|
2019-03-22 19:36:00 +00:00
|
|
|
|
2021-06-29 23:53:29 +00:00
|
|
|
[features]
|
|
|
|
default = ["build-binary"]
|
2021-10-22 21:20:29 +00:00
|
|
|
build-binary = ["tracing-subscriber", "tracing-appender", "clap", "daemonize"]
|
2021-06-29 23:53:29 +00:00
|
|
|
|
2019-03-22 19:36:00 +00:00
|
|
|
[lib]
|
|
|
|
crate-type = ["lib", "staticlib", "dylib"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "boringtun"
|
|
|
|
path = "src/main.rs"
|
2021-06-29 23:53:29 +00:00
|
|
|
required-features = ["build-binary"]
|
2019-03-22 19:36:00 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "benchmarks"
|
|
|
|
path = "src/benchmarks_example.rs"
|