StreamFormat is a C++20 String Formatter, like <fmt> Using this formatter, it define others functionalities:
- Logger like spdlog
- Json Serializer
- Profiler
- Test Suite
This project is mostly an educational project of mine that I have started to learn about C++. Some features are not finished to be implemented/tested. I highly not recomend using this for a serious project. Do not hesitate to open an issue if you have any suggestions or review to make.
Like said above, I have begun this project when learning C++, and at the time my projects where absolutely not documented. I am trying to fix this error whenever I got the time. A doc and comments will come one day...
For now, at least, you have the Examples (and maybe the Tests/) folders to understand what you can do with it. More examples are coming, but again, I am trying to do this whenever I have the time to do it.
git clone [email protected]:0-Sacha/StreamFormat.git
It can be used using Bazel.
A cc_library
rule has been created: @StreamFormat//:StreamFormat
.
You need to add the module streamformat
to your dependencies.
You will need at least to give an c++ standard to use (at least c++20) since no one have been forced. You can check the bazelrc to see how you can add one.
Not Recommended: There is also a Premake configuration, thought it is deprecated (and run on a wrapper of mine: PremakeUtilities). I keep it for my Game Engine Blackbird which is using Premake
as Build system.
You can check the Examples to see what you can do with this.