25 lines
838 B
Rust
25 lines
838 B
Rust
//! A simple, almost pure-rust, cross-platform `WireGuard` implementation.
|
|
//! Designed to function similarly to boringtun, this crate has modules for cross-platform device drivers, the `Noise_IKpsk2` handshake, and cryptography constructs required for the above.
|
|
|
|
#![deny(missing_docs)]
|
|
|
|
#![warn(clippy::pedantic)]
|
|
#![warn(clippy::nursery)]
|
|
#![deny(clippy::unwrap_used)]
|
|
#![deny(clippy::expect_used)]
|
|
|
|
// This is an annoyance
|
|
#![allow(clippy::must_use_candidate)]
|
|
|
|
pub use cidr;
|
|
|
|
pub mod drivers;
|
|
pub mod qcrypto;
|
|
pub mod noise;
|
|
pub mod stack;
|
|
|
|
/// Gets the compile-time versioning information for the engine build.
|
|
pub const fn version() -> &'static str {
|
|
build_info::format!("quicktap engine v{} ({}) built at {} with {}", $.crate_info.version, $.version_control.unwrap().git().unwrap().commit_short_id, $.timestamp, $.compiler)
|
|
}
|