Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Latest commit

 

History

History
47 lines (32 loc) · 1.66 KB

CHANGELOG.md

File metadata and controls

47 lines (32 loc) · 1.66 KB

Changelog

Release v0.2.0 - 2022-08-21

Enhancements

  • Added cargo bavy check, cargo bavy build and cargo 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.
  • Changed cargo bavy new to add .gitignore file to the wasm/ 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 use bevy/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.

Usability

  • Changed cargo bavy new to colorize output.
  • Changed cargo bavy new to suggest running cargo bavy run instead of cargo 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.

Release v0.1.0 - 2022-08-19

The initial release!

Installation

cargo install cargo-bavy

Usage

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.