constant-cstr exists to enable the safe creation of CStr instances at compile time, enabling safer and more efficient FFI. It leverages the recently added expansions to const functions to verify the absence of any interior null bytes.
constant-cstr
CStr