Releases: Lemonawa/music163bot-rust
Releases · Lemonawa/music163bot-rust
v1.1.18
Full Changelog: v1.1.17...v1.1.18
v1.1.17
Full Changelog: v1.1.16...v1.1.17
v1.1.16
What's Changed
- build(deps): bump bytes from 1.11.0 to 1.11.1 by @dependabot[bot] in #3
- build(deps): bump time from 0.3.46 to 0.3.47 by @dependabot[bot] in #4
Full Changelog: v1.1.15...v1.1.16
v1.1.15
Full Changelog: v1.1.14...v1.1.15
v1.1.14
Full Changelog: v1.1.13...v1.1.14
v1.1.13
Full Changelog: v1.1.12...v1.1.13
v1.1.12
Full Changelog: v1.1.11...v1.1.12
v1.1.11
Full Changelog: v1.1.10...v1.1.11
v1.1.10
Full Changelog: v1.1.9...v1.1.10
v1.1.9
Release v1.1.9 - Performance & Optimization Update
🚀 Major Improvements
Binary Size Reduction (-63%)
This release dramatically reduces the binary size through aggressive optimization:
- Before: 15MB
- After: 5.6MB
Optimizations applied:
- Fine-tuned dependency features (
chrono,config,tracing-subscriber) - Enabled Link-Time Optimization (LTO) and symbol stripping
- Used size-optimized compilation profile (
opt-level = "z",panic = "abort")
Memory Management Enhancements
- jemalloc tuning: Improved memory release strategy with decay + purge approach
- System info caching: Cached
sysinfo::Systemobject to eliminate repeated allocations - Smart storage limits: Respects
memory_thresholdconfiguration for in-memory file processing - Concurrency control: Reduced default concurrent downloads from 10 to 3 (configurable)
Database Performance
- SQLite WAL mode: Enabled Write-Ahead Logging for better concurrency
- Busy timeout: Added 30-second timeout to prevent locking issues
Runtime Efficiency
- HTTP connection pools: Tuned for different use cases (2 idle for main API, 0 for uploads)
- FLAC processing: Optimized cover art dimension detection using
ImageReaderinstead of full image decode - String allocations: Eliminated unnecessary
replace()calls in URL parsing
📦 Cleanup & Maintenance
Removed Redundancies
- Deleted unused
inicrate dependency - Removed obsolete
database2.rsmodule - Cleaned up
AGENTS.mddocumentation
Configuration Updates
New option in config.ini:
[download]
max_concurrent = 3 # Control parallel download limitFull Changelog: v1.1.8...v1.1.9