c_string 0.7.0

C string helpers for Rust
Documentation

C string helpers for Rust

This library implements improvements over Rust's FFI facilities for null-terminated strings, as proposed in these RFCs:

On top of that, this crate provides RAII memory management helpers for foreign-allocated C-style strings, as well as more convenient transformation functions and macros that did not pass the rigors of the RFC process for inclusion in the Rust standard library.