Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any possibility to make dependency on Boost not required(like ASIO does)? #2843

Open
TheStormN opened this issue Mar 27, 2024 · 2 comments
Open

Comments

@TheStormN
Copy link

Version of Beast

353

Steps necessary to reproduce the problem

It is a very nice thing that ASIO can be used without Boost. Given that Beast manly needs functionality from ASIO I think the request of such support should be not that far fetched.

All relevant compiler information

N/A

@ashtum
Copy link
Collaborator

ashtum commented Mar 27, 2024

This is not planned, as there is an ongoing effort to make Boost modular. Therefore, you would only need to install the Boost libraries that Beast depends on.

@TheStormN
Copy link
Author

By looking at the Beast dependencies, even if Boost becomes modular, it would still require quite a lot of stuff:

target_link_libraries(boost_beast
  INTERFACE
    Boost::asio
    Boost::assert
    Boost::bind
    Boost::config
    Boost::container
    Boost::core
    Boost::endian
    Boost::intrusive
    Boost::logic
    Boost::mp11
    Boost::optional
    Boost::smart_ptr
    Boost::static_assert
    Boost::static_string
    Boost::system
    Boost::throw_exception
    Boost::type_traits
    Boost::utility
    Boost::winapi
)

Most of these are already available in C++17, so I would really appreciate if I don't need to bring dozen of additional stuff which C++ supports anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants