5 Commits

Author SHA1 Message Date
0965760650 Bump to Bevy 0.18, mark -dev1 prerelease
Some checks failed
check / stable / fmt (push) Successful in 38s
check / nightly / doc (push) Successful in 2m51s
check / ubuntu / stable / features (push) Successful in 2m58s
check / ubuntu / 1.88.0 (push) Failing after 41s
Bevy, Avian2d, and bevy_egui have all been bumped to the latest
versions.

MSRV is now Rust 1.89.0 because that's the minimum for Bevy (including a
couple of its dependencies).
2026-01-22 16:47:09 -06:00
ac60482688 Release v0.9.0
Some checks failed
check / nightly / doc (push) Has been cancelled
check / ubuntu / stable / features (push) Has been cancelled
check / ubuntu / 1.88.0 (push) Has been cancelled
check / stable / fmt (push) Has been cancelled
Web builds now get their version text automatically from the Cargo.toml
2025-12-26 10:21:25 -06:00
75a675977a Fully remove old transitive dep pins 2025-12-26 10:18:21 -06:00
8f2ab97cf0 Improve comments on Makefile config vars
Updated comments explaining the purpose of the variables (to go with the
new "automatic vars" section).
2025-12-26 10:05:51 -06:00
e494fc6c35 Auto fill crate version in web page
The webpage has a placeholder string instead of a hard-coded version.
This gets replaced by the Makefile with the help of a pair of `sed`
calls.

And with that, I've upgraded my ad-hoc web bundler with an ad-hoc HTML
templating engine.
2025-12-26 10:01:39 -06:00
4 changed files with 24 additions and 22 deletions

2
Cargo.lock generated
View File

@@ -175,7 +175,7 @@ dependencies = [
[[package]]
name = "another-boids-in-rust"
version = "0.8.0"
version = "0.9.0"
dependencies = [
"avian2d",
"bevy",

View File

@@ -1,24 +1,14 @@
[package]
name = "another-boids-in-rust"
version = "0.8.0"
version = "0.10.0-dev1"
edition = "2024"
license = "AGPL-3.0-only"
rust-version = "1.88.0"
rust-version = "1.89.0"
[dependencies]
avian2d = "0.4"
bevy = "0.17.0"
bevy-inspector-egui = "0.34"
# Grand-dependency pins
# ab_glyph = "0.2.16"
# fnv = "1.0.6"
# gilrs = "0.10.5"
# lazy_static = "1.0.2"
# lock_api = "0.4.7"
# miniz-sys = "0.1.10"
# nonmax = "0.5.1"
# rand = "0.8.0"
avian2d = "0.5"
bevy = "0.18"
bevy-inspector-egui = "0.36"
[profile.dev]
opt-level = 1

View File

@@ -1,17 +1,28 @@
# This script produces a web build. If you aren't trying to do that, it is
# entirely useless to you.
# Patch these to select a different build profile or target
# The target shouldn't change any time soon. WASM64, I guess. Other targets
# aren't aimed at the web, so you shouldn't be using this makefile.
# # # Configuration Variables # # #
# (because I don't have a ./configure script)
#
# Patch these to select a different build profile or target.
# This Makefile will build a web bundle so using a non-wasm target is basically
# nonsense. Maybe WASM64, but I don't think that's useful (or stabilized yet).
CARGO_TARGET := wasm32-unknown-unknown
CARGO_PROFILE := wasm-release
# Override DESTDIR to set a custom install path (such as your web root)
# Override DESTDIR to set a custom install path
# E.g.: your web root
# I use it via the Debian package build process (dpkg needs it)
DESTDIR ?= .
# # # Automatic Variables # # #
# (meaning you shouldn't modify them yourself)
#
# These are for automatically finding information or files so that they can be
# used somewhere in the build process.
SRC_DIR = ./src
SRCS := $(wildcard $(SRC_DIR)/**)
CRATE_VERSION != sed -nre 's/^version = "(.*)"/\1/p' Cargo.toml
.PHONY: clean full-clean install tarball tarball-standalone web web-standalone
@@ -48,11 +59,13 @@ out/boids.js out/boids_bg.wasm.gz &: target/$(CARGO_TARGET)/$(CARGO_PROFILE)/ano
out/index.html: www/index.html
cp -a $< $@
rm -f out/boids.html
sed -i -e "s/#CRATE_VERSION_PLACEHOLDER#/$(CRATE_VERSION)/" $@
# Like `out/index.html`, but renames it for use in a larger site.
out/boids.html: www/index.html
cp -a $< $@
rm -f out/index.html
sed -i -e "s/#CRATE_VERSION_PLACEHOLDER#/$(CRATE_VERSION)/" $@
# Clean the web build, but not the Cargo cache. Cargo handles it's own caching
# and I don't want to obliterate it all the time.

View File

@@ -103,8 +103,7 @@
</tr>
<tr>
<td>Program Version</td>
<!-- This version text is completely unchecked. I'll need to do something about that. -->
<td><code>v0.6.0</code></td>
<td><code>#CRATE_VERSION_PLACEHOLDER#</code></td>
</tr>
</table>
</article>