project_path

Function project_path 

Source
pub fn project_path() -> Option<&'static str>
Expand description

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.