pub fn pkg_manifest_from_path(path: impl AsRef<Path>) -> Result<PackageManifest> {
    let manifest_file = File::open(path)?;
    let pkg_manifest_reader = BufReader::new(manifest_file);
    serde_json::from_reader(pkg_manifest_reader).map_err(Into::into)
}
/// Parse a PackageManifest from a path to a JSON file.
Parse a PackageManifest from a path to a JSON file.
Parse a PackageManifest from a path to a JSON file .
pub fn pkg_manifest_from_path(path: impl AsRef<Path>) -> Result<PackageManifest> {
    let manifest_file = File::open(path)?;
    let pkg_manifest_reader = BufReader::new(manifest_file);
    serde_json::from_reader(pkg_manifest_reader).map_err(Into::into)
}
pub fn pkg_manifest_from_path ( path : impl AsRef < Path > ) -> Result < PackageManifest > { let manifest_file = File :: open ( path ) ? ; let pkg_manifest_reader = BufReader :: new ( manifest_file ) ; serde_json :: from_reader ( pkg_manifest_reader ) . map_err ( Into :: into ) }
Parse a PackageManifest from a path to a JSON file.
Parse a PackageManifest from a path to a JSON file .
path
impl AsRef<Path>
path
impl AsRef<Path>