pub fn validate_upload_with_contents( expected_json: &str, expected_crate_name: &str, expected_files: &[&str], expected_contents: impl Into<InMemoryDir>, )
Check the cargo publish API call, with file contents
cargo publish