From aeb56a3e6eaa918d7a6a9b9d3228d50aaa596f6e Mon Sep 17 00:00:00 2001 From: LSH Date: Mon, 30 Sep 2024 15:13:29 +0700 Subject: [PATCH] fix: export properly lib func --- Cargo.toml | 2 +- src/lib.rs | 16 +++++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d22c18a..0a50923 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rs-stats" -version = "0.2.0" +version = "0.3.0" authors = ["LSH "] edition = "2018" description = "Statistics library in rust" diff --git a/src/lib.rs b/src/lib.rs index cb37fb6..2762d79 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,8 +9,14 @@ pub mod stddev; pub mod variance; pub mod z_score; -use crate::average::average; -use crate::erf::erf; -use crate::stddev::std_dev; -use crate::variance::variance; -use crate::z_score::z_score; +pub use average::average; +pub use cummulative_distrib::cummulative_distrib; +pub use erf::erf; +pub use erfc::erfc; +pub use normal_cummulative_distrib::normal_cummulative_distrib; +pub use prob_density::normal_probability_density; +pub use prob_density::probability_density; +pub use std_err::std_err; +pub use stddev::std_dev; +pub use variance::variance; +pub use z_score::z_score;