{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreie6eboatdbjf3jrbx33scy465dc35agynii3dk5sp3orzyhysvlge",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mkdh2cv567k2"
},
"path": "/t/pre-rfc-cargo-package-should-include-fewer-files-by-default/24188?page=2#post_31",
"publishedAt": "2026-04-25T15:28:54.000Z",
"site": "https://internals.rust-lang.org",
"tags": [
"crates.io"
],
"textContent": "Vorpal:\n\n> That should block publishing in my opinion, just as it would for normal dependencies.\n\nThat would break publishing of serde. serde_json depends on serde, but serde depends on serde_json for doc tests. And serde_derive depends on serde for tests too (which in turn depends on serde_derive). At work we had a similar problem with a project that we wanted to publish to crates.io. Making use of this dev-dependency removal feature allowed us to unblock publishing.",
"title": "[Pre-RFC] `cargo package` should include fewer files by default"
}