Skip to content

Very small (~300 line) C++ text formatting library

License

Notifications You must be signed in to change notification settings

jeremy-rifkin/microfmt

Repository files navigation

Microfmt

build test Quality Gate Status

Microfmt is a very small (~300 line) formatting library. It's much more primitive than std::format or libfmt but it's small and fast.

I haven't benchmarked against libfmt however I have found this library to be faster than std::format and more than twice as fast as a stringstream.

It only supports string types and integers.

I wrote this because I needed basic formatting ability in two libraries but didn't want to pull in libfmt since that would be an extra thing for downstream users who aren't using conan, vcpkg, or FetchContent to worry about.

About

Very small (~300 line) C++ text formatting library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published