cargo-script-mvs icon indicating copy to clipboard operation
cargo-script-mvs copied to clipboard

Provide a way to generate an idiomatic project from a script

Open epage opened this issue 3 years ago • 2 comments

This smooths out the workflow as someone scales up into more complicated cases.

See #39 for potential building blocks that can be salvaged for this.

epage avatar Apr 25 '22 18:04 epage

Should this be in the rust-script binary or in cargo new?

epage avatar Apr 25 '22 18:04 epage

Since the Pre-RFC won't be modifying cargo new yet, let's modify --pkg-path to focus on this use case (name, documentation, etc) and mark it as an open question in the RFC to resolve where this functionality should live

epage avatar Jul 12 '22 15:07 epage

I've moved this to a future possibility. There are a lot of little details to work out, including

  • Have manifest point to existing file or new file?
  • Auto-remove the embedded manifest?
  • What command should this live in?

epage avatar Apr 07 '23 17:04 epage