3 releases
0.1.2 | Jan 23, 2020 |
---|---|
0.1.1 | Jan 19, 2020 |
0.1.0 | Jan 19, 2020 |
#14 in #look
6KB
Batch3
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
batch3 = "0.1.2"
your cargo.toml file should look like this:
[package]
name = "hello_world"
version = "0.1.0"
authors = ["Muhammad Adnan <muhammad.adnan1990@gmail.com>"]
edition = "2018"
[dependencies]
batch3 = "0.1.2"
In src/main.rs
you can use like this:
use batch3;
fn main() {
println!("Hello, world!");
batch3::islamabad::piaic();
}
following will also work:
use batch3::islamabad;
fn main() {
println!("Hello, world!");
islamabad::piaic();
}
now cargo run
for results