boringtun/Cargo.toml

58 lines
1.5 KiB
TOML
Raw Normal View History

[package]
name = "boringtun"
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>"]
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/"
edition = "2018"
[dependencies]
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"
libc = "0.2"
2022-02-12 22:45:08 +00:00
parking_lot = "0.12"
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"]}
[dependencies.tracing-subscriber]
2022-02-12 22:45:08 +00:00
version = "0.3"
optional = true
[dependencies.tracing-appender]
2022-02-12 22:45:08 +00:00
version = "0.2.0"
optional = true
[dev-dependencies]
2022-02-12 22:45:08 +00:00
tracing-subscriber = "0.3"
[target.'cfg(not(target_arch="arm"))'.dependencies]
ring = "0.16"
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 }
[target.'cfg(target_os="android")'.dependencies]
2022-02-12 22:45:08 +00:00
jni = "0.19.0"
[features]
default = ["build-binary"]
build-binary = ["tracing-subscriber", "tracing-appender", "clap", "daemonize"]
[lib]
crate-type = ["lib", "staticlib", "dylib"]
[[bin]]
name = "boringtun"
path = "src/main.rs"
required-features = ["build-binary"]
[[example]]
name = "benchmarks"
path = "src/benchmarks_example.rs"