2023-07-08 14:43:11 +02:00
|
|
|
//! # common functionalities
|
|
|
|
//!
|
2023-09-20 20:35:07 +02:00
|
|
|
//! This crate is part of [`pt`](../libpt/index.html), but can also be used as a standalone
|
|
|
|
//! module.
|
|
|
|
//!
|
|
|
|
//! This crate implements core functionality useful for many use cases, such as macros,
|
|
|
|
//! formatting functions and more.
|
2023-07-08 14:43:11 +02:00
|
|
|
|
|
|
|
//// ATTRIBUTES ////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// we want docs
|
|
|
|
#![warn(missing_docs)]
|
|
|
|
#![warn(rustdoc::missing_crate_level_docs)]
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// we want Debug everywhere.
|
|
|
|
#![warn(missing_debug_implementations)]
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// enable clippy's extra lints, the pedantic version
|
|
|
|
#![warn(clippy::pedantic)]
|
|
|
|
|
|
|
|
//// IMPORTS ///////////////////////////////////////////////////////////////////////////////////////
|
2023-07-09 17:53:20 +02:00
|
|
|
/// macros to make things faster in your code
|
2023-07-08 14:43:11 +02:00
|
|
|
pub mod macros;
|
2023-07-09 17:53:20 +02:00
|
|
|
/// some general use printing to stdout tools
|
2023-07-08 23:14:32 +02:00
|
|
|
pub mod printing;
|
2023-07-08 14:43:11 +02:00
|
|
|
|
|
|
|
//// CONSTANTS /////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
//// STATICS ///////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
//// ENUMS /////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
//// STRUCTS ///////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
//// IMPLEMENTATION ////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
//// PUBLIC FUNCTIONS //////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
//// PRIVATE FUNCTIONS /////////////////////////////////////////////////////////////////////////////
|