diff --git a/Cargo.toml b/Cargo.toml index 4cb6c06..9941ed6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,6 @@ thiserror = "*" rand = "*" bimap = "*" enum_dispatch = "*" -rand_core = "*" rand_chacha = "*" [dev-dependencies] diff --git a/src/tools.rs b/src/tools.rs index 858923e..8cec2a2 100644 --- a/src/tools.rs +++ b/src/tools.rs @@ -4,7 +4,7 @@ use crate::params; use crate::params::ParamsTrait; use ndarray::prelude::*; use rand_chacha::ChaCha8Rng; -use rand_core::SeedableRng; +use rand_chacha::rand_core::SeedableRng; pub struct Trajectory { pub time: Array1, diff --git a/tests/params.rs b/tests/params.rs index 8ab81c1..255aba6 100644 --- a/tests/params.rs +++ b/tests/params.rs @@ -2,7 +2,7 @@ use ndarray::prelude::*; use rustyCTBN::params::*; use std::collections::BTreeSet; use rand_chacha::ChaCha8Rng; -use rand_core::SeedableRng; +use rand_chacha::rand_core::SeedableRng; mod utils;