dynfmt icon indicating copy to clipboard operation
dynfmt copied to clipboard

no_std support?

Open MabezDev opened this issue 3 years ago • 0 comments
trafficstars

Just a brief skim of the code, it looks like the default formatting (no features enabled) doesn't use alloc or any std specific features?

Could this crate be used in a no_std environment with a bit of refactoring?

Edit: I missed the actual Format function :D - it looks like this only allocates to have a buffer to write into, perhaps there could be an alternative API that allows a slice to be passed instead.

MabezDev avatar Jun 07 '22 22:06 MabezDev