diff --git a/Cargo.toml b/Cargo.toml index 88322b7..425040c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,4 +7,3 @@ edition = "2021" reCTBN = { path = "deps/reCTBN/reCTBN", package = "reCTBN", version="0.1.0" } json = "0.12.*" csv = "1.2.*" -duration-string = "0.2.*" diff --git a/src/main.rs b/src/main.rs index 9af122e..d59d2d4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,6 @@ #![allow(non_snake_case)] use csv; -use duration_string::DurationString; use json; use std::collections::BTreeSet; use std::fs; @@ -163,7 +162,7 @@ fn main() { .unwrap() .to_string(), parsed_json[idx]["density"].as_f64().unwrap().to_string(), - DurationString::from(duration).to_string(), + duration.as_millis().to_string(), ], ) .unwrap();