#std #renames #module #refer #vector #disease

sexually_transmitted_disease

Renames std to sexually_transmitted_disease

3 stable releases

1.1.1 Dec 2, 2021
1.0.1 Jun 8, 2021
1.0.0 May 28, 2021

#13 in #refer

MIT license

3KB

Latest version

When you add this crate as a dependency, you can refer to std modules as sexually_transmitted_disease.

For example:

fn main() {
    // Disease vector
    let diseases: sexually_transmitted_disease::vec::Vec<&str> =
        ["HIV/AIDS", "HPV", "herpes", "chlamydia", "hepatitis"].into();

    let (sender, receiver) = sexually_transmitted_disease::sync::mpsc::channel();
    for disease in diseases {
        sender.send(disease);
    }

    println!("{}", receiver.recv().unwrap()); // HIV/AIDS
}

No runtime deps