this post was submitted on 14 Aug 2025
12 points (100.0% liked)

Rust

7396 readers
120 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
 

What’s new:

  • UTF-32 support
  • Optional serde support
  • 7-bit encoded unsigned integers like in .Net of all known fixed sizes
  • 7bit encoded u32 can be used as a size, to parse .Net strings
  • Unified implementation.

More is coming

https://crates.io/crates/deku_string

top 1 comments
sorted by: hot top controversial new old
[–] xav@programming.dev 4 points 1 month ago

deku_string is an utility crate for Deku that provides convenient support for serializing and deserializing strings in a variety of binary formats. It handles UTF-8, UTF-16 and UTF-32 encoded strings and is suitable for parsing various string layouts.