We are pleased to announce the release of zerocopy 0.8 (crate documentation). Zerocopy is a crate that provides safe abstractions for transmutation, a

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-10-09 09:00:03

We are pleased to announce the release of zerocopy 0.8 (crate documentation). Zerocopy is a crate that provides safe abstractions for transmutation, and it is the foundation of a wide variety of security-critical systems software — networking stacks, filesystems, cryptograhic firmware, and more — at AWS, Google, and others. In this release, we have extended our safe transmute analysis to support a broader range of types, including:

Zerocopy has been essential to our project's success. It has eliminated a myriad of uses of unsafe in code operating on untrusted data, without hurting ergonomics or performance. — John Starks | Partner Software Engineer at Microsoft, OpenHCL

Success stories like the above both delight us and are crucial to demonstrating to our employeers that zerocopy is a worthy investment of engineering time. If our work has made your life easier, please let us know! Zerocopy's continued development depends on your suppport.

Zerocopy now has comprehensive support for slice-based dynamically-sized types (slice DSTs). A slice DST has a fixed prefix followed by a variable number of trailing elements. Slice DSTs are especially useful when modeling packet or file formats with variable-length fields; e.g.:

Leave a Comment