new_project_2 0.1.0

Basic math operations
Documentation
   // -------------------------------------------
   // 			Publishing your Crate
   // -------------------------------------------

   /* 
   These lines are not going to be part of documentation 
   */ 

   // These comments will not be available in the documentation 


   //! # Basic math crate 
   //! This is a collection of some generally used math functions 
   //! 
   /// Computes a square of an input number
   /// 
   /// # Examples
   /// # Tests
   /// ```
   /// let n = 5;
   /// let answer = new_project::square(n);
   /// assert_eq!(25,answer);
   /// ```
   /// # limitations
   /// 
   /// # Some other section
   pub fn square(num:i32) -> i32 {
    num * num
}


/// Computes a cube of an input number
/// 
/// # Examples
/// # Tests
/// ```
/// let n = 5;
/// let answer = new_project::cube(n);
/// assert_eq!(125,answer);
/// ```
/// # limitations
/// 
/// # Some other section
pub fn cube(num:i32) -> i32 {
 num * num * num
}