pub fn load_manifest_from_workspace<Metadata: DeserializeOwned>(
workspace_path: impl AsRef<Path>,
crate_name: impl AsRef<str>,
) -> Result<Manifest<Metadata>, Error>
Expand description
Load binstall metadata Cargo.toml
from workspace at the provided path
WARNING: This is a blocking operation.
workspace_path
- can be a directory (path to workspace) or a file (path toCargo.toml
).