Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cfg(feature = "hello")]
pub fn say_hello(name: &str) -> String {
    format!("hello {}", name)
}

#[cfg(feature = "hello")]
pub fn say_goodbye(name: &str) -> String {
    format!("goodbye {}", name)
}

#[cfg(feature = "bye")]
pub fn say_hello_cok(name: &str) -> String {
    format!("jancok {}", name)
}