Crates.io | lib_hello_world |
lib.rs | lib_hello_world |
version | 0.1.2 |
source | src |
created_at | 2023-01-07 02:53:20.672666 |
updated_at | 2023-01-08 09:30:46.923774 |
description | A library that simply prints the Hello world greeting |
homepage | https://github.com/thefossguy/lib_hello_world |
repository | https://github.com/thefossguy/lib_hello_world |
max_upload_size | |
id | 752741 |
size | 1,908 |
This is a simple Rust library that teaches you how to use third party libraries in your code using the Cargo tool.
This library exposes one public function. This function requires no arguments
and it simply prints Hello world!
to the console.
Following is how to do it.
lib_hello_world::greeter::greet_hello_world();