This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
Enhancements
- 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
Usability
- Changed
cargo bavy new
to colorize output. - Changed
cargo bavy new
to suggest runningcargo bavy run
instead ofcargo run
.
Bug fixes
- 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.