publishing 0.1.0

Basic math operations
Documentation
/*
 * Theses lines are not going to be part of the code
 */

//! # Basic math Crate
//! Collection of some generally used math function
/// A function that returns the square of a number
///
/// # Examples
/// # Tests
/// ```
/// let n = 5;
/// let answer = publishing::square(n);
/// assert_eq!(answer, 25);
/// ```
///
/// # Limitations
///
/// # Some other section
///
///
/// # Examples
///
/// ```
/// use publishing::square;
///
/// assert_eq!(square(5), 25);
/// ```
pub fn square(num: i32) -> i32 {
    num * num
}

/// A function that returns the cube of a number
///
/// # Examples
/// # Tests
/// ```
/// let n = 5;
/// let answer = publishing::cube(n);
/// assert_eq!(answer, 125);
/// ```
///
/// # Limitations
///
/// # Some other section
///
/// # Examples
///
/// ```
/// use publishing::cube;
///
/// assert_eq!(cube(5), 125);
/// ```
pub fn cube(num: i32) -> i32 {
    num * num * num
}