This is nats-io client writen in c++14 with use of boost asio and coroutines libraries.
For Library
boost/1.74.0
fmt/6.2.0
spdlog/1.5.0
openssl/1.1.1d
nlohmann_json/3.9.1
For tests
gtest/1.8.1
For nats tool
cxxopts/2.2.1
- You can just copy
interface.hpp
andimpl.hpp
in you project (don't forget to includeimpl.hpp
somewhere) - Or you can use with conan package. Add conan remote:
conan remote add antlad-conan https://api.bintray.com/conan/antlad/antlad-conan
And then add nats_asio/0.0.13@_/_
to dependencies.
If you use 17 standard, don't forget to specify it in conan profile or during install, more details here
Please check source code of tool samples/nats_tool.cpp