pub fn exec(&self) -> Result<CargoMetadata, Error> {
        let inner = self.inner.exec().map_err(Error::command_error)?;
        Ok(CargoMetadata(inner))
    }
Runs the configured `cargo metadata` and returns a deserialized `CargoMetadata`.
guppy/src/metadata_command.rs