diff options
author | syn <isaqtm@gmail.com> | 2020-02-14 14:21:17 +0300 |
---|---|---|
committer | syn <isaqtm@gmail.com> | 2020-02-14 14:21:17 +0300 |
commit | 73e7e264cc996c42510d9c8e774dd46cfc160a74 (patch) | |
tree | 9416ff130da63809d0205b599a3e3ba3cf40e569 /src/conf.rs | |
parent | 3da19e8603c00c02ec7e24ea8910a7c386b09018 (diff) | |
download | evr-73e7e264cc996c42510d9c8e774dd46cfc160a74.tar.gz |
deserialize duration from floats
Diffstat (limited to 'src/conf.rs')
-rw-r--r-- | src/conf.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf.rs b/src/conf.rs index cc281f0..8aeb8e3 100644 --- a/src/conf.rs +++ b/src/conf.rs @@ -1,4 +1,4 @@ -use serde_derive::{ Serialize, Deserialize }; +use serde_derive::Deserialize; use std::path::{ PathBuf, Path }; use toml::de; use log::{ error }; @@ -9,7 +9,7 @@ use std::io::ErrorKind; use crate::backends::{ Backend, PythonBackend, ClangBackend }; -#[derive(Debug, Serialize, Deserialize, Default)] +#[derive(Debug, Deserialize, Default)] pub struct Conf { #[serde(skip)] path: Option<PathBuf>, |