MCPcopy Create free account
hub / github.com/bytecodealliance/cargo-component / read_manifest

Method read_manifest

tests/support/mod.rs:332–336  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

330 }
331
332 pub fn read_manifest(&self) -> Result<DocumentMut> {
333 let manifest_path = self.root.join("Cargo.toml");
334 let manifest_text = fs::read_to_string(manifest_path)?;
335 Ok(manifest_text.parse()?)
336 }
337
338 pub fn update_manifest(
339 &self,

Callers 1

update_manifestMethod · 0.80

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected