Stiffstream / restinio

Cross-platform, efficient, customizable, and robust asynchronous HTTP(S)/WebSocket server C++ library with the right balance between performance and ease of use
Other
1.15k stars 93 forks source link

Adding support Support fmt/7.1.x, string-view-lite/1.6.0, and variant-lite/2.0.0 #129

Open prince-chrismc opened 3 years ago

prince-chrismc commented 3 years ago

The title includes a list of RESTinio dependencies which have seen update(s) in recent weeks/months. Not include are the PRCE and PREC2 which have also seen updates, the ones above have more integration challenges however (as the they are not optional to restinio).

As always any time you spent looking at this would be greatly appreciated ❤️

eao197 commented 3 years ago

Do you use RESTinio in C++17?

eao197 commented 3 years ago

I've updated RESTinio to fmtlib-7.1.2 in 0.6-dev-0.6.13-update-deps branch and checked it with a couple of different versions of different compilers with C++14 and C++17, and doesn't found any compilation errors.

prince-chrismc commented 3 years ago

I had tested in in GCC 9 which might be 17 by default, it might have been bad example code but I am glad it worked

I am trying to compile this example (slightly reduced) https://github.com/Stiffstream/restinio/blob/a6a07d147a04192cd0f590492ce6dd321597d54c/README.md#enhanced-example-with-express-router

I pushed a commit that was failing.