This is a collection of some generally used math functions.
To use this crate in your Rust project, add the following line to your Cargo.toml
file:
toml
[dependencies]
Circle_Area = "0.1.0"
### Or
you can simply run this camand in your terminal cargo add Circle_area
.
Here is the preview of main.rs
file:
```rs
use CircleArea::circlearea;
fn main(){
// circle area
println!("Area of the 5.0 redius circle is:{}",circlearea(5.0));
//rect area
println!("Area of the Rectengle is:{}",rectangleare(5.0,4.5));
}