Function af_core::env::project_path [−][src]
pub fn project_path() -> Option<&'static str>
Returns the full file system path to the cargo project of the currently running executable.
This function panics if the executable was not run with a cargo
command.
Use [is_cargo_run()
] to check whether this function will panic.