Function dioxus_cli_config::crate_root
source · pub fn crate_root() -> Result<PathBuf, CargoError>
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