Crates.io | format_args_conditional |
lib.rs | format_args_conditional |
version | 0.1.1 |
source | src |
created_at | 2024-03-13 23:05:30.535384 |
updated_at | 2024-03-13 23:47:15.024282 |
description | A procedural macro that can expand to one macro or another based on whether `format_args!` input could be optimized as `write_str` |
homepage | |
repository | |
max_upload_size | |
id | 1172663 |
size | 18,967 |
This is the procedural macro that powers bitty_write_macro
.
It can be used in your own projects to generate different code based on whether format arguments use variables or a constant string.