const_format_crates icon indicating copy to clipboard operation
const_format_crates copied to clipboard

Compile-time string formatting

Results 14 const_format_crates issues
Sort by recently updated
recently updated
newest added

Very alike PR https://github.com/rodrimati1992/const_format_crates/pull/54 - which ignores `clippy::indexing_slicing` - this should probably also `clippy::ignore needless_raw_string_hashes`. See https://github.com/rust-lang/rust-clippy/issues/11748 for why.

I am currently using `const_format` on a project that has most clippy lints enabled, and it is showing warnings because it uses direct array indexing to access the fields on...

For my use case I need byte slices composed mostly of ASCII with some arbitrary bytes thrown in as escapes. I hoped I could do something like this: ```rs const...

The recently stabilized [CString](https://doc.rust-lang.org/std/ffi/struct.CString.html) type is a big help for any FFI work. Sometimes, const c-strings are needed as well-known ABI-compatible output of a library. It would be great to...