pub fn cargo_metadata() -> Result<Metadata>
Returns info parsed from an invocation of the cargo metadata command.
cargo metadata
You may not run this during crate publishing.