c_string 0.3.2

C string helpers for Rust
docs.rs failed to build c_string-0.3.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: c_string-0.7.2

C string helpers for Rust

This library resulted from improving the functionality for working with null-terminated strings that was formerly provided by Rust module std::c_str. Earlier revisions of this work were submitted as an RFC for inclusion in the Rust distribution, but a more conservative redesign has been selected instead.

Nonetheless, this crate provides memory management helpers for foreign-allocated null-terminated strings, as well as performance-minded conversion methods for producing null-terminated strings out of built-in Rust strings and related data types. If your code involves a lot of passing string data between C-style APIs and Rust, you may want to give this library a try.