You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm a maintainer of RESTinio library. And RESTinio can be used with standalone version of Asio or with Boost.Asio. But these options are exclusive: either standalone Asio or Boost.Asio can be selected.
The port file for RESTinio supports only standaline Asio currently. If a user wants to use Boost.Asio then he/she has to make an overlay.
I don't think it's an easy way to go, expecially for ordinary users who are not expert in CMake/vcpkg. It will be good to allow a user to write something like this in the vcpkg.json manifest:
So I wonder how to provide a user an easy way to select standalone or Boost's Asio. And the only idea I have at the moment is to create another port, like "restinio-boost-asio". Such a port will allow to write:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi! I'm a maintainer of RESTinio library. And RESTinio can be used with standalone version of Asio or with Boost.Asio. But these options are exclusive: either standalone Asio or Boost.Asio can be selected.
The port file for RESTinio supports only standaline Asio currently. If a user wants to use Boost.Asio then he/she has to make an overlay.
I don't think it's an easy way to go, expecially for ordinary users who are not expert in CMake/vcpkg. It will be good to allow a user to write something like this in the
vcpkg.json
manifest:and do nothing more than that.
I've tried to do exactly that, but vcpkg's features cannot be used for implementation of alternatives.
So I wonder how to provide a user an easy way to select standalone or Boost's Asio. And the only idea I have at the moment is to create another port, like "restinio-boost-asio". Such a port will allow to write:
and nothing more.
But I'm in doubt is it a good idea to have two almost the same ports?
Beta Was this translation helpful? Give feedback.
All reactions