import env on non windows systems

This commit is contained in:
jb-alvarado 2022-08-10 10:36:15 +02:00
parent 5de3ce2fb1
commit e8b626599e

View File

@ -1,5 +1,4 @@
use std::{
env,
ffi::OsStr,
fs::{self, metadata},
io::{BufRead, BufReader, Error},
@ -10,6 +9,9 @@ use std::{
time::{self, UNIX_EPOCH},
};
#[cfg(not(windows))]
use std::env;
use chrono::{prelude::*, Duration};
use ffprobe::{ffprobe, Format, Stream};
use jsonrpc_http_server::hyper::HeaderMap;