{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiaea4pxkqsvo7nvzcuevpdmdjc67yqzs6sj5gn25rgqqzamsjh2hq",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mga3q6smp7e2"
},
"path": "/t/alternative-to-cargo-new-templates-examples-as-build-target-templates/24047#post_4",
"publishedAt": "2026-03-03T20:27:39.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "CAD97:\n\n> `cargo new --from {crate}/{example}` would use the specified example instead of the default example template.\n\nOne problem with using this is that a `{crate}` likely should support the fully Package Id Spec format which would is a URL.",
"title": "Alternative to `cargo new` templates: examples as build-target templates"
}