boringtun_easytier/lib.rs
1// Copyright (c) 2019 Cloudflare, Inc. All rights reserved.
2// SPDX-License-Identifier: BSD-3-Clause
3
4//! Simple implementation of the client-side of the WireGuard protocol.
5//!
6//! <code>git clone https://github.com/cloudflare/boringtun.git</code>
7
8#[cfg(feature = "device")]
9pub mod device;
10
11#[cfg(feature = "ffi-bindings")]
12pub mod ffi;
13#[cfg(feature = "jni-bindings")]
14pub mod jni;
15pub mod noise;
16
17#[cfg(not(feature = "mock-instant"))]
18pub(crate) mod sleepyinstant;
19
20pub(crate) mod serialization;
21
22/// Re-export of the x25519 types
23pub mod x25519 {
24 pub use x25519_dalek::{
25 EphemeralSecret, PublicKey, ReusableSecret, SharedSecret, StaticSecret,
26 };
27}