test_pub_create 0.1.1

this is a create just for test
Documentation
//! # test_pub_create
//! this is a create for testing create pub

pub use kinds::PrimaryColor;
pub use kinds::SecondaryColor;
pub use utils::add_one;
pub use utils::minus_one;

pub mod kinds {
    /// The primary colors according to the RYB color model
    pub enum PrimaryColor {
        Red,
        Yellow,
        Blue,
    }

    /// the secondary colors according to the RYB color model
    pub enum SecondaryColor {
        Orange,
        Green,
        Purple,
    }
}

pub mod utils {
    /// Add one to the number given
    /// 
    /// # Examples
    /// 
    /// ```
    /// let arg = 5;
    /// let answer = test_pub_create::add_one(arg);
    /// ```
    pub fn add_one(x: i32) -> i32 {
        return x + 1;
    }

    /// Minus one to the number given
    /// 
    /// # Examples
    /// 
    /// ```
    /// let arg = 5;
    /// let answer = test_pub_create::minus_one(arg);
    /// ```

    pub fn minus_one(x: i32) -> i32 {
        return x - 1;
    }
}