wcp-core 0.1.0

Core library for the White Cat Protocol (WCP), focusing on privacy, security, anonymity.
Documentation
#![warn(missing_docs)]

//! Core library for the White Cat Protocol (WCP).
//! 
//! WCP is a protocol designed with a strong emphasis on:
//! 
//! *   **Privacy**
//! *   **Security**
//! *   **Anonymity**
//! 
//! This crate provides the foundational building blocks for applications using WCP.

/// Adds two numbers.
///
/// # Examples
///
/// ```
/// let result = wcp_core::add(2, 2);
/// assert_eq!(result, 4);
/// ```

pub fn add(left: usize, right: usize) -> usize {
    left + right
}

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

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