Crossbundle new command

crossbundle uses cargo-generate to generate a new project. This means that you need to install it before we proceed.

cargo install cargo-generate

Then you can create a new project:

crossbundle new project-name
# crossbundle new project-name --template bevy
# crossbundle new project-name --template quad

All supported templates you can watch here (each branch = template).

Troubleshooting

You can face the problem with Cargo.toml parsing for the generated project:

Crossbundle Tools error: FailedToFindCargoManifest("...")

To resolve this add your project name to members table of crossbow Cargo.toml:

[workspace]
members = [
    "...",
    "example/",
    "...",
]