islamabad 0.1.0

Sample Library from PIAIC Batch3 IoT
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 371.68 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 989.92 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • imran82ali/islamabad
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • imran82ali

First Welcome from Islamabad

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

islamabad = "0.1.0"

your cargo.toml file should look like this:

[package]
name = "hello_world"
version = "0.1.0"
authors = ["imran82ali <code.imranali@gmail.com>"]
edition = "2018"

[dependencies]
islamabad = "0.1.0"

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

use islamabad;
fn main() {
    println!("Hello, world!");
    islamabad::welcome();
}

following will also work:

use islamabad::welcome;
fn main() {
    println!("Hello, world!");
    welcome();
    }

now cargo run for results