-
Notifications
You must be signed in to change notification settings - Fork 882
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
Please, remove the new Boost dependency #982
Comments
Since the version 1.2.0 (Sep 2015), msgpack-c has already depended on the Boost Libraries. It was a weird approach. Get some version of the Boost Libraries and convert them to msgpack as follows: There were many problems. So we decided to more straight forward approach. |
Thanks a lot for the explanation. Given the low number of changes in the project since last year, I still believe it would be reasonably possible to make Boost optional again. Please consider that possibility, as it would truely make life simpler for many users (see #978 for instance). In our project, we build a tree of dependencies for many target platforms, like MSVC, Linux, iOS, macOS, Android, so every new dependency means significant long-term maintenance to integrate it and maintain it into our build system. We used to see msgpack-c as a lightweight, low maintenance cost, and low-risk dependency. All of these assumptions now seem to be false. We probably would not have chosen msgpack as a serialization format to begin with if it required adding Boost to our project (and maintaining it in our build system in the long run just for that serialization library). |
I think that you can fork the project and introduce Boost conversion approach again on your fork. Or msgpack-c (C) is not depends on boost. It could be a candidate. |
@ygj6 , could you post commet? |
This pulls in the whole of Boost and zlib when using this library via Conan and there's nothing one do about it (which, agreed, is not fully msgpacks fault). Additionally currently the Conan recipe for boost/1.78.0 + MSVC is broken, so msgpack-cxx is basically unusable for me... |
It seems that the Conan MSVC boost issue. I guess that is would be solved soon. |
I created #1001 In C++ compiler, when you set I have no plan to change the default value |
Thanks a lot for your work ! |
Solved by #1002. msgpack-c implicitly depends on boost even if MSGPACK_NO_BOOST is defined. |
Boost was not required by previous versions of msgpack-c and it was working just fine.
msgpack-c was a very lightweight library, while Boost is huge, and has a super complex and boost-specific build system, even when only using headers.
There seems to be no actual technical reason to require Boost, beyond ease of maintenance for msgpack-c maintainers. But this decision pushes the maintenance cost of the new dependency to every user of the library!
This would add a significant new dependency to our project and significant new short-term and long-term maintenance costs, for a library that is not actually required by msgpack... Please reconsider adding Boost as a dependency.
The text was updated successfully, but these errors were encountered: