v0.3.2: spawn_blocking fix, static builds, CI overhaul #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Brings development up to main with all changes since v0.0.1. Key areas: runtime fix for AUTH/SAUTH hangs, static binary builds, unified build system, and CI fixes.
Changes
Runtime fix: spawn_blocking for redb I/O
All async methods in
backend.rsthat performed blocking redb disk I/O while holding tokio RwLock guards have been wrapped intokio::task::spawn_blocking(). This fixes AUTH/SAUTH hangs caused by blocking the tokio runtime thread.Static binary builds
mimallocas global allocator for musl targetsrust-toolchain.tomland cargo config for musl buildsbuild-linux.yamlandbuild-macos.yamlworkflowsBuild system
buildenv.sh: single source of truth for project configurationscripts/build_lib.sh: shared build functions (cargo env, install, publish, release)Makefile: unified targets (build, test, install, ship, release)VERSIONfile for version trackingCI
build.yaml: test workflow on every push (fixed cargo env sourcing)build-linux.yaml: release builds on tag push (x86_64 musl + aarch64 cross-compile)build-macos.yaml: macOS release builds on tag pushVersion
Unified version to
0.3.2acrossCargo.toml,VERSION, andbuildenv.sh.Testing
@timur @despiegk
fix: resolve AUTH/SAUTH hang by using spawn_blocking for redb I/Oto v0.3.2: spawn_blocking fix, static builds, CI overhaul