Ben Chuanlong Du's Blog

It is never too late to learn.

Useful Rust Crates for String

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

bstr

bstr A string type that is not required to be valid UTF-8.

arcstr

arcstr is a better reference-counted string type, with zero-cost (allocation-free) support for string literals, and reference counted …

Useful Rust Crates for Bit Manipulations

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

bytemuck

ByteMuck is a crate for mucking around with piles of bytes. It lets you safely perform "bit cast" operations between data types. That's where you take a value and just …