tor-config: Fix build when expand-paths is disabled
This commit is contained in:
parent
42ad8d99aa
commit
a0b78837ad
|
@ -5,8 +5,11 @@
|
|||
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
use directories::{BaseDirs, ProjectDirs};
|
||||
use once_cell::sync::Lazy;
|
||||
#[cfg(feature= "expand-paths")]
|
||||
use {
|
||||
directories::{BaseDirs, ProjectDirs},
|
||||
once_cell::sync::Lazy,
|
||||
};
|
||||
use serde::{Deserialize, Serialize};
|
||||
#[cfg(feature = "expand-paths")]
|
||||
use std::borrow::Cow;
|
||||
|
|
Loading…
Reference in New Issue