1 2 3 4 5 6 7 8 9
use std::path::{Path, PathBuf}; pub fn get_libevent_dir() -> PathBuf { Path::new(env!("LIBEVENT_SRC")).into() } pub fn get_tor_dir() -> PathBuf { Path::new(env!("TOR_SRC")).into() }