location

Crates.iolocation
lib.rslocation
version0.1.0
sourcesrc
created_at2020-01-19 16:04:12.632558
updated_at2020-01-19 16:04:12.632558
descriptionSample Library from PIAIC Batch3 IoT
homepagehttps://github.com/scorpasdzx/location.git
repositoryhttps://github.com/scorpasdzx/location.git
max_upload_size
id200161
size3,318,407
(scorpasdzx)

documentation

README

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

location = "0.1.0"

your cargo.toml file should look like this:

[package]
name = "location"
version = "0.1.0"
authors = ["wajid ali"]
edition = "2020"
GitHub = https://github.com/scorpasdzx/location.git

[dependencies]
location = "0.1.0"

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

use location;
fn main() {
    location::ques3::location();
}

following will also work:

use location::ques3::location;
fn main() {
location();
    }

now cargo run for results

Commit count: 6

cargo fmt