# Gates ![](https://github.com/felix7d2/gates/workflows/Rust/badge.svg)[![](https://docs.rs/gates/badge.svg)](https://docs.rs/gates/0.1.0/gates/) Gates is a simple library to simulate logical gates. ### gates: - and - or - not - xor - nand - nor ### example ```rust assert_eq!(not(and(1, 0)), nand(Signal::On, Signal::Off)); ``` [Documentation](https://docs.rs/gates/0.0.0/gates/)