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 std::path::{Path, PathBuf};
|
||||||
|
|
||||||
use directories::{BaseDirs, ProjectDirs};
|
#[cfg(feature= "expand-paths")]
|
||||||
use once_cell::sync::Lazy;
|
use {
|
||||||
|
directories::{BaseDirs, ProjectDirs},
|
||||||
|
once_cell::sync::Lazy,
|
||||||
|
};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
#[cfg(feature = "expand-paths")]
|
#[cfg(feature = "expand-paths")]
|
||||||
use std::borrow::Cow;
|
use std::borrow::Cow;
|
||||||
|
|
Loading…
Reference in New Issue