Secondwelcome 0.1.2

Second Welcome Library
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 14.3 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 106.4 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • ShahzadTabassum/Secondwelcome
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ShahzadTabassum

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