Skip to content

v0.9.0

Choose a tag to compare

@crabcode crabcode released this 25 Mar 05:36
· 5 commits to main since this release

Added

  • FixedStr & FixedStrBuf: Introduced a fixed–capacity, null–padded UTF‑8 string type and its incremental builder.
  • Safe UTF‑8 Truncation: Implemented truncation that respects UTF‑8 boundaries to avoid cutting multi-byte characters.
  • Serialization Support: Integrated with binrw for binary serialization and serde for human–readable serialization/deserialization.
  • no_std Compatibility: The crate is fully compatible with no_std environments for embedded or memory-sensitive applications.
  • Helper Functions: Added utility functions for boundary detection, hex formatting (fast_format_hex and dump_as_hex), and buffer copying modes.
  • Test Suite: Extensive unit and integration tests covering edge cases such as input overflow, UTF‑8 validation, truncation correctness, and more.
  • Benchmark Tests: Included benchmarks (using Criterion) to evaluate the performance of the hex formatting functions.
  • Documentation: In-code documentation and README with usage examples, API overview, and installation instructions.

Fixed

  • No fixes as this is the initial release.