multan381a 0.1.0

Sample Library by Tariq Masood
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 14.02 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 233.34 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • KingTariq

First 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

multan381a = "0.1.0"

your cargo.toml file should look like this:

[package]
name = "multan381a"
version = "0.1.0"
authors = ["KingTariq<tariqmasood2k2@yahoo.com>"]
edition = "2018"

[dependencies]
multan381a = "0.1.0"

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

use multan381a;
fn main() {
    println!("Hello, world!");
    multan381a::city();
}

following will also work:

use mulatn381a::city;
fn main() {
    println!("Hello, world!");
    city();
    }

now cargo run for results