Skip to content

Commit d50f1f1

Browse files
Remove Boost.Coroutine dependency and old Coro API
Delete the old Boost.Coroutine-based Coro class and all supporting infrastructure, now that all callers have been migrated to the C++20 CoroTaskRunner API: - Delete include/xrpl/core/Coro.ipp (entire file) - Remove class Coro, Coro_create_t, postCoro() from JobQueue.h - Remove the large comment block explaining old Coro lifecycle - Remove boost::coroutine from cmake COMPONENTS and link targets - Remove Boost::context from cmake find_dependency (was only needed by Boost.Coroutine) - Remove BOOST_COROUTINES_NO_DEPRECATION_WARNING compile definition - Remove boost::coroutine from conanfile.py requirements This completes the Boost.Coroutine → C++20 coroutines migration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent deb4613 commit d50f1f1

File tree

6 files changed

+2
-312
lines changed

6 files changed

+2
-312
lines changed

cmake/XrplConfig.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ find_dependency(Boost
1616
COMPONENTS
1717
chrono
1818
container
19-
context
20-
coroutine
2119
date_time
2220
filesystem
2321
program_options

cmake/XrplInterface.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ target_compile_definitions(
2222
BOOST_FILESYSTEM_NO_DEPRECATED
2323
>
2424
$<$<NOT:$<BOOL:${boost_show_deprecated}>>:
25-
BOOST_COROUTINES_NO_DEPRECATION_WARNING
2625
BOOST_BEAST_ALLOW_DEPRECATED
2726
BOOST_FILESYSTEM_DEPRECATED
2827
>

cmake/deps/Boost.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ include(XrplSanitizers)
44
find_package(Boost REQUIRED
55
COMPONENTS chrono
66
container
7-
coroutine
87
date_time
98
filesystem
109
json
@@ -21,7 +20,6 @@ target_link_libraries(
2120
INTERFACE Boost::headers
2221
Boost::chrono
2322
Boost::container
24-
Boost::coroutine
2523
Boost::date_time
2624
Boost::filesystem
2725
Boost::json

conanfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ def package_info(self):
196196
"boost::headers",
197197
"boost::chrono",
198198
"boost::container",
199-
"boost::coroutine",
200199
"boost::date_time",
201200
"boost::filesystem",
202201
"boost::json",

include/xrpl/core/Coro.ipp

Lines changed: 0 additions & 122 deletions
This file was deleted.

0 commit comments

Comments
 (0)