elaeis4/quicktap/src/lib.rs

24 lines
823 B
Rust
Raw Normal View History

//! A simple, almost pure-rust, cross-platform `WireGuard` implementation.
2022-12-19 04:15:28 +00:00
//! 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)]
2022-12-15 22:59:56 +00:00
#![deny(clippy::unwrap_used)]
#![deny(clippy::expect_used)]
// This is an annoyance
#![allow(clippy::must_use_candidate)]
2022-12-19 04:15:28 +00:00
pub use cidr;
2022-12-14 02:53:22 +00:00
pub mod drivers;
2022-12-13 01:24:48 +00:00
pub mod qcrypto;
pub mod noise;
/// 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)
}