hello-world-in-rust

Crates.iohello-world-in-rust
lib.rshello-world-in-rust
version0.1.1
sourcesrc
created_at2024-05-13 06:47:56.101888
updated_at2024-09-05 11:07:58.682289
descriptionHello World!
homepage
repositoryhttps://github.com/AlvinHon/hello_world_rs
max_upload_size
id1238077
size19,639
(AlvinHon)

documentation

README

version workflow status codecov status

Hello World

Hello world in Rust!

Run the binary:

hello-world-in-rust
# Output: hello world!

Execute as crate:

let next_word = hello_world::hello();

Hello World Derive

Add macro to print out the hello world message in a function.

#[hello_world]
fn main {
    // The macro will generate println! to print the hello world message here.
}
Commit count: 0

cargo fmt