diff --git a/Cargo.toml b/Cargo.toml index 601b3fb..758f9f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,5 +6,11 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[profile.release] +opt-level = 3 +lto = "fat" +codegen-units = 1 +panic = "unwind" + [dependencies] -getrandom = "0.1" \ No newline at end of file +getrandom = "0.1" diff --git a/src/impl.rs b/src/impl.rs index 38259ec..737ba0e 100644 --- a/src/impl.rs +++ b/src/impl.rs @@ -1,5 +1,4 @@ use super::*; -use getrandom::*; pub fn range(start: f64, end: f64, mut repeat: usize) -> Result<(), Error> {