Crates.io | rt-format |
lib.rs | rt-format |
version | 0.3.1 |
source | src |
created_at | 2021-07-10 21:05:40.445746 |
updated_at | 2022-05-20 15:23:41.146249 |
description | Fully-runtime equivalent of the format! macro |
homepage | |
repository | https://github.com/vstojkovic/rt-format |
max_upload_size | |
id | 421200 |
size | 58,395 |
rt-format
Fully-runtime equivalent of the format!
macro.
Allows formatting strings like the format!
macro, with the formatting string and the arguments
provided at runtime. This crate supports all the formatting features of the format!
macro,
except for the fill character.
There are many crates that can be used for formatting values into strings. Here are some of the criteria you can use to decide if this crate is the right choice for you:
std::fmt
is a better option than this crate. If you need to
supply the formatting specifiers at runtime, then this crate might be a viable option.num-runtime-fmt
or
num-format
.runtime-fmt
.dynfmt
.no-std
support? If so, you need to use one of the other alternatives.