thors-anvil

Modern C++20 libraries for building interactive web services

brewmacoslinux
Try with needOr install directly
Source

About

Set of modern C++20 libraries for writing interactive Web-Services

Examples

create a new web service project with thors-anvil$ brew install thors-anvil && cat /usr/local/opt/thors-anvil/share/doc/example.cpp
build a C++ project that uses thors-anvil libraries$ g++ -std=c++20 -I/usr/local/opt/thors-anvil/include myservice.cpp -o myservice -L/usr/local/opt/thors-anvil/lib -lthorvg
link thors-anvil libraries in cmake project$ echo 'find_package(thorsanvil REQUIRED)' >> CMakeLists.txt && echo 'target_link_libraries(myapp thorsanvil::lib)' >> CMakeLists.txt
check installed thors-anvil version and headers$ brew info thors-anvil && ls /usr/local/opt/thors-anvil/include/
add thors-anvil development headers to your C++ project$ cat > main.cpp << 'EOF' #include <thorsanvil/Serialize.h> int main() { /* use thors-anvil */ } EOF