my fork of dmp
Exposing APIs
Anubhab Bandyopadhyay 2024-08-19
parent e2d06c8 · commit be5a4ff
-rw-r--r--src/dmp.rs2
-rw-r--r--src/lib.rs3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/dmp.rs b/src/dmp.rs
index 9619125..a9c7b32 100644
--- a/src/dmp.rs
+++ b/src/dmp.rs
@@ -2,7 +2,7 @@ use core::str;
use std::{char, collections::HashMap, fmt::Display};
#[cfg(target_arch = "wasm32")]
-use instant::{instant::Instant, Duration};
+use instant::{Instant, Duration};
#[cfg(not(target_arch = "wasm32"))]
use std::time::{Duration, Instant};
diff --git a/src/lib.rs b/src/lib.rs
index 19feeb5..74beaad 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,6 @@
pub mod dmp;
pub mod errors;
pub mod traits;
+
+
+pub use dmp::*; \ No newline at end of file