BaihuBaihu
Changelog

the refactor

unreleased — full codebase overhaul

naming

  • bh_ token prefix across all pairing tokens, matrix transaction IDs

performance

  • mimalloc global allocator — better throughput on small allocations
  • parking_lot::Mutex — 1 byte vs 40 on windows, no poisoning
  • JoinSet for daemon — structured concurrency, cleaner shutdown
  • build profile — opt-level=z, LTO, panic=abort, codegen-units=1. binary is ~3.4MB

security

  • ChaCha20-Poly1305 migration — legacy XOR secrets auto-migrate to AEAD on decrypt
  • SecretStore::decrypt_and_migrate() — decrypt + upgrade in one call

code style

  • stripped verbose doc comments that restated obvious function names
  • kept comments for crypto, algorithms, security design
  • lowercase and lazy, matching project voice

On this page