#c-str

  1. mbox

    malloc-based box. Supports wrapping pointers or null-terminated strings returned from malloc as a Rust type, which will be free'd on drop

    v0.7.1 146K #malloc #c-str #box #malloc-free #api-bindings
  2. arccstr

    Thread-safe, reference-counted null-terminated immutable strings

    v1.3.3 #rc #c-str #immutability #string #reference-counting
  3. byte-strings

    Rust byte strings manipulation, for a better and safer C FFI

    v0.3.1 22K #c-str #char #api-bindings #c #c-char
  4. str_array

    Fixed-size str and CStr types backed by an array

    v1.1.0 #c-str #array #string #no-alloc #sized #fixed-sized
  5. sentinel

    A sentinel-terminated slice library

    v0.5.4 #c-str #slice #null
  6. cstr8

    string types that are both valid UTF-8 and nul-terminated

    v0.1.4 290 #c-strings #u8string #zstr #cstring8 #c-str
  7. thin_cstr

    An experimental crate which provides a truly thin std::ffi::CStr

    v0.1.1 #c-strings #ffi #c-str
  8. seestr

    pointer-wide nul-terminated strings with ownership semantics

    v0.1.5 150 #c-str #ffi #transparent #no-alloc #nul
  9. cntr-nix

    Rust friendly bindings to *nix APIs (fork with features used in cntr)

    v0.11.3-pre1 #nix #syscalls #linux #bindings #fork #libc #cntr #errno #system-api #c-str
  10. cstr-literal

    A const-friendly macro for C string literals

    v0.1.0 1.7K #string-macro #c-str #literals #macro-literals #const #literals-string
  11. cstrptr

    FFI-compatible and no-std &CStr

    v0.1.3 #c-strings #c-str #cstr
  12. better_cstr

    A better macro for working with C strings

    v0.2.1 #string-macro #c-str #macro #literals
  13. null-terminated-str

    FFI-friendly utf-8 string, enabling const null-terminated str and caching of the non-terminated string to avoid frequent allocation

    v0.1.4 #c-str #api-bindings #string
  14. lanyard

    UTF-8 C string types

    v0.1.3 230 #c-strings #string #ffi #c-str #cstr
  15. Try searching with DuckDuckGo.

  16. latin1str

    Windows-1252 string types

    v0.1.3 #windows-1252 #string #encoded-string #utf-8 #c-str #nul-terminated #encoding-rs #ascii #convertible
  17. clucstr

    Safe and efficient creation of "CStr" with zero-byte checking and support for concatenating multiple values

    v1.2.0 600 #c-str #clucompany #macro #no-std
  18. c_str

    The old c_str functions

    v1.0.8 #string #c
  19. byte-strings-proc_macros

    Internal: proc-macro backend of ::byte_strings

    v0.3.1 29K #proc-macro #byte-string #better-and-safer #back-end #string-literal #c-str #zero-cost
  20. include_cstr

    Macro for building static CStr reference from file content

    v0.1.0 #file-content #c-str #macro
  21. utf8-cstr

    Type wrappers promising null termination and utf-8 validity. The intersection of std::ffi::CStr and str

    v0.1.6 217K #c-str #utf-8 #termination #intersection #string #validity
  22. const-c-str

    Safely create &CStr at compile time

    v0.1.1 #compile-time #c-str #create #safely #string
  23. embedded-ffi

    OsStr and OsString for embedded usage

    v0.1.2 #c-strings #osstring #ffi #c-str #osstr
  24. fastcgi-sdk

    FastCGI SDK for Rust

    v0.0.5 #sdk #fast-cgi #bindings #request #abi #zero-overhead #c-str #removing #portability
  25. byte-strings-proc-macro

    https://crates.io/crates/byte-strings backing proc-macros

    v0.1.1 #c-str #better-and-safer #proc-macro #backing #macro-use #puts #c-int #c-char #zero-cost #string-literal
  26. measure-null-str

    Analogue of CStr, with an explicit point to measure the null-terminated string

    v0.0.0 #c-str #explicit #length #measurement #points #file-watcher
  27. cstr-enum-derive

    Derive macros for the cstr-enum crate

    v0.1.0 250 #c-str #enums #macro-traits #c-style #enums-string
  28. cursed

    It's cursed

    v0.0.1 #c-str #interior
  29. cstr-macros

    Procedural macros for cstr

    v0.1.6 700 #c-str #proc-macro #static-reference #c-strings #literals #abc
  30. const-c-str-impl

    detail, see https://crates.io/crates/const-c-str

    v0.1.0 #c-str #create #compile #const #string