1 2 3 4 5 6 7
use std::path::PathBuf; pub fn root() -> PathBuf { PathBuf::from(env!("CARGO_MANIFEST_DIR")) .parent().unwrap() .into() }
1 2 3 4 5 6 7
use std::path::PathBuf; pub fn root() -> PathBuf { PathBuf::from(env!("CARGO_MANIFEST_DIR")) .parent().unwrap() .into() }