{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreigkbpjgmx63iqwj2firhewkshpzfse6sikzrbl6jylnlu3vg4o4yi",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mer4dvrsge42"
},
"path": "/t/what-prevents-cargo-from-adding-bench-bin-example-dependencies/24004#post_5",
"publishedAt": "2026-02-13T16:32:30.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "epage:\n\n> Third-party tooling that processes dependencies, particularly ones related to supply chain management\n\nDoes not look like a big issue to me. Without bench deps support such tools would simply ignore the section, which does not seem like a bad fallback to me.\n\nepage:\n\n> Does `cfg(bench)` work?\n\nNo, it was one of suggestions to \"solve\" this problem in the linked issue.\n\nepage:\n\n> `dev-dependencies` affects\n\nYes, I know. And my statement above was in the context of that. I probably should've added \"deprecated in favor of `[test/bench/examples-dependencies]`\".",
"title": "What prevents Cargo from adding `[bench/bin/example-dependencies]`?"
}