Function dioxus_cli::cargo::crate_root

source ·
pub fn crate_root() -> Result<PathBuf>
Expand description

Returns the root of the crate that the command is run from

If the command is run from the workspace root, this will return the top-level Cargo.toml