-
Notifications
You must be signed in to change notification settings - Fork 5
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
BOOST and pboted #28
Comments
|
|
Looks like I think I'll have time to finish before weekend. |
Well, I've done some tests to try different options, and the more I work on replacing Using I do not yet discard the option with completely self-written parsing as here. What bribes me about CLI11 is that parsing app.set_config("-c,--conf")->expected(1, 1); But even less I want to change one dependency for another (even though this is one @r4sas, @majestrate, what do you guys think about CLI11 library as 2in1 (CLI and INI) parser? |
i do think CLI11 is a very good choice here. we are planning on using it in new codebases at work going forward. |
No problem for me in the current state. In any case, further tests may tell much more. add: getopt is not a problem for Windows. Build will be done using MSYS2. |
Now I'm waiting for CLIUtils/CLI11#789 After that, I can start testing |
@majestrate raised very important question about the rationality of using BOOST in the project.
The project architecture allows us to replace BOOST with alternatives at this stage.
I prepared small table about used components:
program_options
filesystem
std::filesystem
in C++17 (but then it will be necessary to drop support of old C++ standards)asio
PacketHandler
Regarding BOOST in parts of
libi2pd
- these components are not used by the application and have been removed.I'll post all latest changes soon.
At the moment, I see only one requirement for any BOOST alternatives:
users should not notice any changes and should not be required to make any changes themselves to be compatible with new components.
Decision will be made on the future fate of BOOST in the project after the discussion.
Let me know if anyone has ideas about it.
Thanks
The text was updated successfully, but these errors were encountered: