| Crates.io | location |
| lib.rs | location |
| version | 0.1.0 |
| created_at | 2020-01-19 16:04:12.632558+00 |
| updated_at | 2020-01-19 16:04:12.632558+00 |
| description | Sample Library from PIAIC Batch3 IoT |
| homepage | https://github.com/scorpasdzx/location.git |
| repository | https://github.com/scorpasdzx/location.git |
| max_upload_size | |
| id | 200161 |
| size | 3,318,407 |
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