MCPcopy Create free account
hub / github.com/clearloop/elvis / parse_crate_data

Method parse_crate_data

backend/src/manifest.rs:278–296  ·  view source on GitHub ↗

Read the `manifest_path` file and deserializes it using the toml Deserializer. Returns a Result containing `ManifestAndUnsedKeys` which contains `CargoManifest` and a `BTreeSet ` containing the unused keys from the parsed file. # Errors Will return Err if the file (manifest_path) couldn't be read or if deserialize to `CargoManifest` fails.

(manifest_path: &PathBuf)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

to_stringMethod · 0.45

Tested by

no test coverage detected