rust3ds / cargo-3ds

Cargo command to work with Nintendo 3DS project binaries.
Apache License 2.0
59 stars 10 forks source link

`cargo 3ds new` and `init` commands #29

Closed ian-h-chamberlain closed 1 year ago

ian-h-chamberlain commented 1 year ago

Since cargo new is a convenient way to start a new project, I thought it might be useful to have a cargo 3ds new as well, to try and make it even easier to get started. This definitely isn't a necessary feature, but it might be nice to have to simplify the setup.

We could probably piggyback off plain cargo new --bin (forwarding arguments), then just modifying main.rs and Cargo.toml to add the dependencies on ctru and do some basic setup of Gfx and a Console to get a hello-world going.

Same all applies for cargo init, I think. Finding the directory would be slightly trickier but probably not too bad.

AzureMarker commented 1 year ago

Might also want to add a rust-toolchain/rust-toolchain.toml file so it uses nightly.