Expand description

constant-cstr exists to enable the safe creation of CStr instances at compile time, enabling safer and more efficient FFI.

Macros

cstr checks its input for null bytes and, if none are found, generates an &'static CStr. It must be provided a string literal.