constant-cstr

Crates.ioconstant-cstr
lib.rsconstant-cstr
version0.1.1
sourcesrc
created_at2022-07-26 23:27:17.436847
updated_at2022-07-27 16:20:57.084011
descriptionCreate const instances of CStr at compile time
homepage
repositoryhttps://github.com/Keating950/constant-cstr
max_upload_size
id633556
size4,989
Keating Reid (Keating950)

documentation

README

constant-cstr

crates.io docs.rs

Create const instances of CStr at compile time

constant-cstr exists to enable the safe creation of CStr instances at compile time, enabling safer and more efficient FFI. Its only exported macro, cstr, statically checks its input for the presence of null bytes, avoiding the penalty of runtime verification.

Commit count: 4

cargo fmt