- Added
cargo bavy check
,cargo bavy build
andcargo bavy run
commands:- They work similar to
cargo
their counterpart. - They automatically add
--features bevy/dynamic
in debug mode for faster compile times. - They have an additional
--wasm
/-w
flag to target the browser. - All necessary tools will be installed for you if needed.
- They work similar to
- Changed
cargo bavy new
to add.gitignore
file to thewasm/
folder with the WASM option. - Changed
cargo bavy new
to automatically install needed tools when WASM option is selected. - Added option to
cargo bavy new
to configure Rust Analyzer in VS Code to usebevy/dynamic
feature.- This avoids unnecessary re-compiles after you use
cargo bavy run
and other commands. - You should configure this for all projects where you use
cargo-bavy
.
- This avoids unnecessary re-compiles after you use
- Changed
cargo bavy new
to colorize output. - Changed
cargo bavy new
to suggest runningcargo bavy run
instead ofcargo run
.
- Fixed optimized dependency configuration having invalid table keys in
Cargo.toml
. - Fixed fast linker configuration including a shared generics flag on stable toolchain, which caused a compile error.
- Fixed Clippy CI workflow not including GitHub token, so it wouldn't post comments with the warnings on your PRs.
The initial release!
cargo install cargo-bavy
Create a new Bevy app:
cargo bavy new <PROJECT_NAME>
It will ask you which features you want (asset hot reloading, fast linker, GitHub Action workflows, ...) and then creates a project template for you.