Get rid of the `rand_core` rependency

pull/33/head
Meliurwen 3 years ago
parent 9316fcee30
commit 79dbd88529
  1. 1
      Cargo.toml
  2. 2
      src/tools.rs
  3. 2
      tests/params.rs

@ -12,7 +12,6 @@ thiserror = "*"
rand = "*" rand = "*"
bimap = "*" bimap = "*"
enum_dispatch = "*" enum_dispatch = "*"
rand_core = "*"
rand_chacha = "*" rand_chacha = "*"
[dev-dependencies] [dev-dependencies]

@ -4,7 +4,7 @@ use crate::params;
use crate::params::ParamsTrait; use crate::params::ParamsTrait;
use ndarray::prelude::*; use ndarray::prelude::*;
use rand_chacha::ChaCha8Rng; use rand_chacha::ChaCha8Rng;
use rand_core::SeedableRng; use rand_chacha::rand_core::SeedableRng;
pub struct Trajectory { pub struct Trajectory {
pub time: Array1<f64>, pub time: Array1<f64>,

@ -2,7 +2,7 @@ use ndarray::prelude::*;
use rustyCTBN::params::*; use rustyCTBN::params::*;
use std::collections::BTreeSet; use std::collections::BTreeSet;
use rand_chacha::ChaCha8Rng; use rand_chacha::ChaCha8Rng;
use rand_core::SeedableRng; use rand_chacha::rand_core::SeedableRng;
mod utils; mod utils;

Loading…
Cancel
Save