fix unused imports
This commit is contained in:
parent
b4dbca4be3
commit
c58fc6fdd5
@ -1,10 +1,11 @@
|
|||||||
use std::{
|
use std::{
|
||||||
fs,
|
|
||||||
io::{stdin, stdout, Write},
|
io::{stdin, stdout, Write},
|
||||||
path::{Path, PathBuf},
|
path::{Path, PathBuf},
|
||||||
process::exit,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#[cfg(target_family = "unix")]
|
||||||
|
use std::{fs, process::exit};
|
||||||
|
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
use rpassword::read_password;
|
use rpassword::read_password;
|
||||||
use sqlx::{Pool, Sqlite};
|
use sqlx::{Pool, Sqlite};
|
||||||
@ -16,10 +17,12 @@ use crate::db::{
|
|||||||
use crate::utils::{
|
use crate::utils::{
|
||||||
advanced_config::AdvancedConfig,
|
advanced_config::AdvancedConfig,
|
||||||
config::{OutputMode, PlayoutConfig},
|
config::{OutputMode, PlayoutConfig},
|
||||||
db_path,
|
|
||||||
};
|
};
|
||||||
use crate::ARGS;
|
use crate::ARGS;
|
||||||
|
|
||||||
|
#[cfg(target_family = "unix")]
|
||||||
|
use crate::utils::db_path;
|
||||||
|
|
||||||
#[derive(Parser, Debug, Clone)]
|
#[derive(Parser, Debug, Clone)]
|
||||||
#[clap(version,
|
#[clap(version,
|
||||||
about = "ffplayout - 24/7 broadcasting solution",
|
about = "ffplayout - 24/7 broadcasting solution",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user