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

#141 in Caching

Download history 8/week @ 2024-01-01 19/week @ 2024-01-15 117/week @ 2024-02-26 44/week @ 2024-03-04 50/week @ 2024-03-11 43/week @ 2024-03-18 6/week @ 2024-03-25 15/week @ 2024-04-01 98/week @ 2024-04-08 33/week @ 2024-04-15

153 downloads per month

Apache-2.0

6KB
83 lines

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.


lib.rs:

Raw C String conversion and conversion trait

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

Dependencies

~125KB