{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreigisjo5nvvwsvs2ondxtrywy6f74hvxqrnwemhv6zkszn2mpc4com",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mgckaufbntz2"
  },
  "path": "/t/alternative-to-cargo-new-templates-examples-as-build-target-templates/24047#post_7",
  "publishedAt": "2026-03-04T16:59:35.000Z",
  "site": "https://internals.rust-lang.org",
  "tags": [
    "Getting Started example from Criterion's documentation"
  ],
  "textContent": "(Just a use case) I would love to be able to do something like this and would use it all the time:\n\n\n    cargo new --bench --from criterion getting-started\n\n\nAnd after that, have the whole Getting Started example from Criterion's documentation ready to be run with:\n\n\n    cargo bench\n",
  "title": "Alternative to `cargo new` templates: examples as build-target templates"
}