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 = "*"
bimap = "*"
enum_dispatch = "*"
rand_core = "*"
rand_chacha = "*"
[dev-dependencies]

@ -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<f64>,

@ -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;

Loading…
Cancel
Save