| Crates.io | flexstr_support |
| lib.rs | flexstr_support |
| version | 0.1.3 |
| created_at | 2025-12-23 01:23:09.438574+00 |
| updated_at | 2025-12-23 20:17:00.999456+00 |
| description | Support crate for 'flexstr' and 'inline_flexstr' |
| homepage | |
| repository | https://github.com/nu11ptr/flexstr/flexstr_support |
| max_upload_size | |
| id | 2000568 |
| size | 15,999 |
Support crate for flexstr and flexstr_support. This probably isn't what you want unless you are trying to add your own string type to these crates.
forbid(unsafe_code) (performance penalty)std (default)serde dependency and adds serialization/deserializationOsStr/Path. No other string types or operating systems are impacted (implies safe feature).
safe feature is enabledosstr and/or path feature(s) are enabledstr-based strings (default)[u8])CStr-based stringsOsStr-based stringsPath-based strings (implies osstr feature)In general, it performs quite well given that it is mostly just a thin wrapper over the stdlib. See the benchmarks page for more details.
The code was written by hand with care (although AI tab completion was used). Any contributions should be completely understood by the contributor, whether AI assisted or not.
This is currently experimental, however, I will be using this at a startup in production code, so it will become production ready at some point.
Contributions are welcome so long as they align to my vision for this crate. Currently, it does most of what I want it to do (outside of string construction and mutation, but I'm not ready to start on that yet).
This project is licensed optionally under either: