Crates.io | raw-cstr |
lib.rs | raw-cstr |
version | 0.1.4 |
source | src |
created_at | 2024-01-05 22:18:58.096172 |
updated_at | 2024-01-17 19:13:21.021626 |
description | Keep raw-cstrings in thread local storage for reuse |
homepage | https://github.com/novafacing/raw-cstr |
repository | https://github.com/novafacing/raw-cstr |
max_upload_size | |
id | 1090547 |
size | 8,638 |
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.