rust-template-example 0.1.5

An example showcasing the usage of https://github.com/PRO-2684/rust-template.
Documentation
//! # `rust-template-example` library crate
//!
//! If you are reading this, you are reading the documentation for the `rust-template-example` library crate. For the cli, kindly refer to the README file.

#![deny(missing_docs)]
#![warn(clippy::all, clippy::nursery, clippy::pedantic, clippy::cargo)]

/// Add two numbers together.
pub fn add(left: u64, right: u64) -> u64 {
    left + right
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn it_works() {
        let result = add(2, 2);
        assert_eq!(result, 4);
    }
}