Function dioxus_studio::cargo::crate_root[][src]

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