mini-enigma 0.3.0

#[no-std] (and no alloc) zero dependency implementation of the M3 Enigma
Documentation
//!
//! # Mini Engima
//!
//! #[no-std] (and no alloc) zero dependency implementation of the M3 Enigma
//!
//! Get started with `state_machine::Enigma`
//!
//! # Features
//!
//! `M4` - Allows the machine to have 4 rotors
//!

#![no_std]
#![warn(missing_docs)]
#![warn(clippy::pedantic)]

#[cfg(test)]
extern crate std;

#[macro_export]
/// Equivalent to `std::println` but omitted during non-testing builds
macro_rules! debug {
    ($($arg:tt)*) => {
        #[cfg(test)]
        std::println!($($arg)*);
    };
}

pub mod components;
pub mod state_machine;
pub mod utils;