#c-strings

  1. foreign

    Conversion between foreign and Rust types

    v0.3.2 850 #ffi #c-strings #convert
  2. cstring-array

    Safe, zero-copy wrapper for passing string arrays to C FFI (char**)

    v0.1.1 #c-strings #argv #c-interop #array #api-bindings
  3. cfixed-string

    Pass Rust strings to C with potentially not needing heap allocation

    v1.1.0 #heap-allocator #needing #byte-buffer #stack-allocation #pass #c-strings #memory-fragmentation
  4. cstr_core

    CStr and CString for no_std environments

    v0.2.6 63K #c-strings #no-std #string
  5. cstr8

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

    v0.1.4 290 #c-strings #u8string #zstr #cstring8 #c-str
  6. u16cstr

    A macro for creating c-style u16 wide strings at compile time

    v0.6.0 #wide-string #c-style #c-strings
  7. stringer

    An easy way to turn an Unsafe *const c_char into a Rust String type and return a pointer

    v0.2.0 340 #c-strings #string #ffi #ffistrings
  8. thin_cstr

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

    v0.1.1 #c-strings #ffi #c-str
  9. zstring

    Zero-termianted string lib, for use with C FFI

    v0.2.4 310 #string #zero-terminated #zero-termianted #thin-pointers #lib #c-strings
  10. stack-cstr

    High-performance stack-to-heap C string creation for Rust with FFI support

    v0.2.0 #c-strings #ffi
  11. ljm

    An idiomatic Rust wrapper for the LabJack LJM library

    v0.3.0 370 #lab-jack #idiomatic #idiomatic-for-lab-jack #expand #c-strings
  12. unixstring

    An FFI-friendly null-terminated byte string

    v0.2.7 #byte-string #null-terminated-string #ffi-friendly #convert #system #c-strings
  13. cstrptr

    FFI-compatible and no-std &CStr

    v0.1.3 #c-strings #c-str #cstr
  14. asciiz

    create buffer and copy bytes ends with 0u8

    v0.1.4 #c-strings #utf-8 #u8z #u8zz
  15. cstring

    A super simple cstring library for WebAssembly

    v0.1.1 410 #c-strings #wasm #js #super #memory
  16. qjs-ng

    v0.1.2 #qjs #c-strings
  17. raw-cstr

    Keep raw-cstrings in thread local storage for reuse

    v0.1.4 320 #thread-local-storage #c-strings #local-cache #string #constant
  18. Try searching with DuckDuckGo.

  19. passable_guard

    A Guard to help you catch leakage of pointers that you pass over a FFI boundary

    v1.0.0 #memory-leaks #passable #catch #help #raw-pointers #leakage #null-terminated #c-strings
  20. lanyard

    UTF-8 C string types

    v0.1.3 230 #c-strings #string #ffi #c-str #cstr
  21. bystr

    macro to create compile-time, fixed length, byte array from a string

    v0.1.3 #c-strings #ffi #bpf
  22. rcstring

    Dependency-free CString-like implementation for projects with #[no_std]'s

    v0.2.1 #c-strings #kernel #no-std #rlibc
  23. univstring

    The Universal String(Rust String, CString, Wide(UTF-16/UTF-32) CString) trait

    v0.4.3 #c-strings #traits #utf-16 #universal #string #utf-32
  24. terminated

    Types for representing NUL-terminated UTF8 strings

    v1.0.0 #nul-terminated #c-strings #null-terminated #ffi
  25. embedded-ffi

    OsStr and OsString for embedded usage

    v0.1.2 #c-strings #osstring #ffi #c-str #osstr
  26. c_macros

    A bunch of macros useful for interfacing with C code

    v0.1.1 #c-strings #macro #ffi
  27. drop_struct_macro_derive

    A derive macro to free (drop) memory for structs that are used in the FFI

    v0.5.0 #macro-derive #struct #struct-macro #macro-free #drop #filecoin #c-strings
  28. crypt3-sys

    musl crypt3

    v0.1.0 #musl #crypt #c-strings
  29. seasick-macros

    FFI-safe nul-terminated strings with ownership semantics

    v0.3.0 120 #nul-terminated-string #semantic #safe-ffi #ownership #c-strings #c-types
  30. cstr-macro

    Macros for creating CStrings without allocations

    v0.1.0 2.4K #helix #ruby #c-strings #allocation #macro #console-log #logging #im #bootstrap #company
  31. zstr

    Zero-terminated C string literals

    v0.1.1 #c-strings #zero-terminated #nul-terminated #c
  32. cstr-macros

    Procedural macros for cstr

    v0.1.6 700 #c-str #proc-macro #static-reference #c-strings #literals #abc
  33. c_string

    C string helpers for Rust

    v0.7.2 140 #c-strings #string #c
  34. no_error_macro

    a macro returning errors for no_std

    v0.0.1 #no-std #no-error #macro #return #c-strings #string-literal #error-code