We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NewCrate
1 parent 5a2ea19 commit e287f43Copy full SHA for e287f43
crates/crates-io/lib.rs
@@ -38,6 +38,10 @@ pub struct Crate {
38
pub max_version: String,
39
}
40
41
+/// This struct is serialized as JSON and sent as metadata ahead of the crate
42
+/// tarball when publishing crates to a crate registry like crates.io.
43
+///
44
+/// see <https://doc.rust-lang.org/cargo/reference/registry-web-api.html#publish>
45
#[derive(Serialize, Deserialize)]
46
pub struct NewCrate {
47
pub name: String,
0 commit comments