cstr8

Crates.iocstr8
lib.rscstr8
version0.1.4
sourcesrc
created_at2022-06-08 19:08:02.909701
updated_at2024-04-13 19:35:39.038451
descriptionstring types that are both valid UTF-8 and nul-terminated
homepage
repositoryhttps://github.com/CAD97/cstr8/
max_upload_size
id602226
size50,369
Christopher Durham (CAD97)

documentation

README

Guaranteed valid nul-terminated UTF-8 C strings.

Latest version Documentation License MSRV


If there's some functionality you need which std's str or CStr provide but CStr8 doesn't, or similarly with CString and CString8, please open an issue; lack of feature parity is considered a bug.

The name is derived from analogy with C++'s std::char8_t and std::u8string.

The minimum supported version of Rust will always be at least three months old (stable - 2). Actual updates to the MSRV are expected to be fairly sporadic, but will happen without ceremony as soon as they are desired for any reason.

Commit count: 35

cargo fmt