msfrn-test-lib 0.3.0

Test rust library
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 = "bye")]
pub fn say_goodbye(name: &str) -> String {
    format!("Goodbye, {}", name)
}

#[cfg(feature = "hello")]
pub fn say_hello_world() -> String {
    "Hello World".to_string()
}