lib-hello 0.3.0

Having dual function two return value as a condition
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cfg(feature="greeting")]
pub fn saying_hello(name: &str) -> String{
    format!("Hello {}", name)
}

#[cfg(feature="farewell")]
pub fn saying_bye(name: &str) -> String{
    format!("Good Bye {}", name)
}

#[cfg(feature="communication")]
pub fn hello_and_bye(name: &str){
    println!("Hello {}, hope we meet again someday...", name);
}