2 releases

0.1.2 Nov 29, 2020
0.1.1 Nov 29, 2020

#665 in Build Utils

45 downloads per month

MIT/Apache

6KB

Second Welcome

this is a demo rust library published on crates.io

to use this library you have to add following line in dependency section of cargo.toml

Secondwelcome = "0.1.2"

your cargo.toml file should look like this:

[package]
name = "hello_world"
version = "0.1.2"
authors = ["ShahzadTabassum <www.shahzadtabassum786@gmail.com>"]
edition = "2018"

[dependencies]
Secondwelcome = "0.1.2"

In src/main.rs you can use like this:

use Secondwelcome;
fn main() {
    println!("Hello, world!");
    Secondwelcome::hello();
}

following will also work:

use Secondwelcome::hello;
fn main() {
    println!("Hello, world!");
    hello();
    }

now cargo run for results

No runtime deps