1 unstable release
0.1.0 | Jan 19, 2020 |
---|
#44 in #shape
6KB
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
shapes = "0.1.0"
your cargo.toml file should look like this:
[package]
name = "example"
version = "0.1.0"
authors = ["bilal619 <m.bilal210@gmail.com>"]
edition = "2018
[dependencies]
shapes = "0.1.0"
In src/main.rs
you can use like this:
use shapes;
fn main() {
shapes::make_shape::circle::make_circle();
}
now `cargo run` for results