3 ms·
https://crates.io/crates/strfmt https://crates.io/crates/strfmt works too.
by steveklabnik 10y ago
https://crates.io/crates/strfmt https://crates.io/crates/strfmt works too.
- chc 10y agoWouldn't that be an external templating lib?
- deleted 10y ago[deleted]
- steveklabnik 10y agoIn some sense, yes. In another, it's not some sort of different kind of templating, it's the same stuff, just calculated at runtime instead of compile time. I assume the lack of wanting a library for this is due to its weight and learning some other form of templating; this crate is pretty small, and isn't different in that way.