Skip to content

Bundle cargo generate temporarily for ease of installation #373

Closed
@alexcrichton

Description

@alexcrichton

💡 Feature description

One of the first steps in the getting started guide is to cargo install cargo-generate, but this can take quite some time and also be difficult to execute in all circumstances (OpenSSL issues, libgit2 issues, etc).

It'd be awesome if instead wasm-pack bundled the code for cargo-generate by default (by using a dependeny on the actual cargo-generate). That way we could have something like wasm-pack generate which is immediately available after downloading wasm-pack. Eventually this wouldn't be necessary if cargo generate becomes more first class, but we could have a note saying that it's just a temporary measure for now!

Metadata

Metadata

Labels

PR attachedthere's a PR open for this issuecurrent releasecurrent todo itemsto-dostuff that needs to happen, so plz do it k thx

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions