Thanks to visit codestin.com
Credit goes to lib.rs

3 releases

0.1.4 Jan 17, 2024
0.1.3 Jan 17, 2024
0.1.2 Jan 17, 2024
0.1.1 Jan 5, 2024

#10 in #string-cache

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

57 downloads per month
Used in 2 crates

Apache-2.0

6KB
83 lines

Raw C String conversion and conversion trait

If you want constant C strings, use c"Hello, World" as recently stabilized instead


Raw CStr

Utilities for working with raw C strings from Rust. This primarily is intended to provide a constant-like C-string at runtime by using a thread local cache. Its usage is extremely niche, and is intended to be used by tsffs and other crates which compile to cdylibs which are loaded by non-rust programs.

Dependencies

~140KB