From f1f1f4b2403488d92bf9944747a6ba4efbd63afa Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Sat, 30 Mar 2024 14:13:27 +0800 Subject: [PATCH] feat modify dir --- CMakeLists.txt | 112 +++++++++--------- {include => src}/sled/any.h | 0 src/{ => sled}/any_test.cc | 0 {include => src}/sled/apply.h | 0 src/{ => sled}/async/async.cc | 0 {include => src}/sled/async/async.h | 0 src/{ => sled}/async/async_test.cc | 0 {include => src}/sled/buffer.h | 0 {include => src}/sled/byte_order.h | 0 {include => src}/sled/cleanup.h | 0 src/{ => sled}/cleanup_test.cc | 0 .../sled/exec/detail/invoke_result.h | 0 src/{ => sled}/exec/just_test.cc | 0 src/{ => sled}/filesystem/path.cc | 0 {include => src}/sled/filesystem/path.h | 0 src/{ => sled}/filesystem/path_test.cc | 0 .../sled/filesystem/temporary_file.h | 0 {include => src}/sled/futures/detail/delay.h | 0 {include => src}/sled/futures/detail/future.h | 0 {include => src}/sled/futures/detail/just.h | 0 src/{ => sled}/futures/detail/just_test.cc | 0 {include => src}/sled/futures/detail/on.h | 0 {include => src}/sled/futures/detail/retry.h | 0 {include => src}/sled/futures/detail/then.h | 0 {include => src}/sled/futures/detail/traits.h | 0 {include => src}/sled/futures/future.h | 0 {include => src}/sled/futures/promise.h | 0 src/{ => sled}/futures/promise_test.cc | 0 {include => src}/sled/lang/attributes.h | 0 src/{ => sled}/log/fmt_test.cc | 0 src/{ => sled}/log/log.cc | 0 {include => src}/sled/log/log.h | 0 {include => src}/sled/make_ref_counted.h | 0 {include => src}/sled/make_unique.h | 0 src/{ => sled}/network/async_resolver.cc | 0 .../sled/network/async_resolver.h | 0 .../sled/network/async_resolver_interface.h | 0 src/{ => sled}/network/ip_address.cc | 0 {include => src}/sled/network/ip_address.h | 0 src/{ => sled}/network/null_socket_server.cc | 0 .../sled/network/null_socket_server.h | 0 .../network/physical_socket_server.cc | 0 .../sled/network/physical_socket_server.h | 0 {include => src}/sled/network/socket.h | 0 src/{ => sled}/network/socket_address.cc | 0 .../sled/network/socket_address.h | 0 .../sled/network/socket_factory.h | 0 src/{ => sled}/network/socket_server.cc | 0 {include => src}/sled/network/socket_server.h | 0 {include => src}/sled/numerics/divide_round.h | 0 .../sled/numerics/fixed_point_number.h | 0 src/{ => sled}/operations_chain.cc | 0 {include => src}/sled/operations_chain.h | 0 {include => src}/sled/optional.h | 0 src/{ => sled}/profiling/profiling.cc | 0 {include => src}/sled/profiling/profiling.h | 0 src/{ => sled}/profiling/profiling_test.cc | 0 {include => src}/sled/queue/circle_queue.h | 0 src/{ => sled}/random.cc | 0 {include => src}/sled/random.h | 0 src/{ => sled}/random_bench.cc | 0 {include => src}/sled/ref_count.h | 0 {include => src}/sled/ref_counted_base.h | 0 {include => src}/sled/ref_counted_object.h | 0 {include => src}/sled/ref_counter.h | 0 {include => src}/sled/reflect/reflect.h | 0 {include => src}/sled/rx.h | 0 src/{ => sled}/rx_test.cc | 0 src/{ => sled}/sanitizer_test.cc | 0 {include => src}/sled/scoped_refptr.h | 0 src/{ => sled}/sigslot.cc | 0 {include => src}/sled/sigslot.h | 0 {include => src}/sled/sled.h | 0 src/{ => sled}/status.cc | 0 {include => src}/sled/status.h | 0 {include => src}/sled/status_or.h | 0 src/{ => sled}/status_or_test.cc | 0 src/{ => sled}/status_test.cc | 0 src/{ => sled}/strings/base64.cc | 0 {include => src}/sled/strings/base64.h | 0 src/{ => sled}/strings/base64_bench.cc | 0 src/{ => sled}/strings/base64_fuzz.cc | 0 src/{ => sled}/strings/base64_test.cc | 0 src/{ => sled}/strings/utils.cc | 0 {include => src}/sled/strings/utils.h | 0 .../sled/synchronization/call_once.h | 0 src/{ => sled}/synchronization/event.cc | 0 {include => src}/sled/synchronization/event.h | 0 src/{ => sled}/synchronization/mutex.cc | 0 {include => src}/sled/synchronization/mutex.h | 0 .../sled/synchronization/one_time_event.h | 0 .../synchronization/sequence_checker.cc | 0 .../sled/synchronization/sequence_checker.h | 0 .../synchronization/sequence_checker_test.cc | 0 .../synchronization/thread_local.cc | 0 .../sled/synchronization/thread_local.h | 0 src/{ => sled}/system/fiber/fiber_bench.cc | 0 src/{ => sled}/system/fiber/fiber_test.cc | 0 .../sled/system/fiber/scheduler.h | 0 .../sled/system/fiber/wait_group.h | 0 src/{ => sled}/system/location.cc | 0 {include => src}/sled/system/location.h | 0 src/{ => sled}/system/pid.cc | 0 {include => src}/sled/system/pid.h | 0 src/{ => sled}/system/thread.cc | 0 {include => src}/sled/system/thread.h | 0 src/{ => sled}/system/thread_pool.cc | 0 {include => src}/sled/system/thread_pool.h | 0 src/{ => sled}/system/thread_pool_bench.cc | 0 src/{ => sled}/system/thread_pool_test.cc | 0 src/{ => sled}/system_time.cc | 0 {include => src}/sled/system_time.h | 0 src/{ => sled}/system_time_bench.cc | 0 .../task_queue/pending_task_safety_flag.cc | 0 .../task_queue/pending_task_safety_flag.h | 0 src/{ => sled}/task_queue/task_queue_base.cc | 0 .../sled/task_queue/task_queue_base.h | 0 src/{ => sled}/time_utils.cc | 0 {include => src}/sled/time_utils.h | 0 src/{ => sled}/timer/task_queue_timeout.cc | 0 .../sled/timer/task_queue_timeout.h | 0 {include => src}/sled/timer/timeout.h | 0 src/{ => sled}/timer/timer.cc | 0 {include => src}/sled/timer/timer.h | 0 src/{ => sled}/units/time_delta.cc | 0 {include => src}/sled/units/time_delta.h | 0 src/{ => sled}/units/timestamp.cc | 0 {include => src}/sled/units/timestamp.h | 0 {include => src}/sled/units/unit_base.h | 0 src/{ => sled}/uri.cc | 0 {include => src}/sled/uri.h | 0 src/{ => sled}/uri_test.cc | 0 {include => src}/sled/utility/move_on_copy.h | 0 {include => src}/sled/variant.h | 0 134 files changed, 56 insertions(+), 56 deletions(-) rename {include => src}/sled/any.h (100%) rename src/{ => sled}/any_test.cc (100%) rename {include => src}/sled/apply.h (100%) rename src/{ => sled}/async/async.cc (100%) rename {include => src}/sled/async/async.h (100%) rename src/{ => sled}/async/async_test.cc (100%) rename {include => src}/sled/buffer.h (100%) rename {include => src}/sled/byte_order.h (100%) rename {include => src}/sled/cleanup.h (100%) rename src/{ => sled}/cleanup_test.cc (100%) rename {include => src}/sled/exec/detail/invoke_result.h (100%) rename src/{ => sled}/exec/just_test.cc (100%) rename src/{ => sled}/filesystem/path.cc (100%) rename {include => src}/sled/filesystem/path.h (100%) rename src/{ => sled}/filesystem/path_test.cc (100%) rename {include => src}/sled/filesystem/temporary_file.h (100%) rename {include => src}/sled/futures/detail/delay.h (100%) rename {include => src}/sled/futures/detail/future.h (100%) rename {include => src}/sled/futures/detail/just.h (100%) rename src/{ => sled}/futures/detail/just_test.cc (100%) rename {include => src}/sled/futures/detail/on.h (100%) rename {include => src}/sled/futures/detail/retry.h (100%) rename {include => src}/sled/futures/detail/then.h (100%) rename {include => src}/sled/futures/detail/traits.h (100%) rename {include => src}/sled/futures/future.h (100%) rename {include => src}/sled/futures/promise.h (100%) rename src/{ => sled}/futures/promise_test.cc (100%) rename {include => src}/sled/lang/attributes.h (100%) rename src/{ => sled}/log/fmt_test.cc (100%) rename src/{ => sled}/log/log.cc (100%) rename {include => src}/sled/log/log.h (100%) rename {include => src}/sled/make_ref_counted.h (100%) rename {include => src}/sled/make_unique.h (100%) rename src/{ => sled}/network/async_resolver.cc (100%) rename {include => src}/sled/network/async_resolver.h (100%) rename {include => src}/sled/network/async_resolver_interface.h (100%) rename src/{ => sled}/network/ip_address.cc (100%) rename {include => src}/sled/network/ip_address.h (100%) rename src/{ => sled}/network/null_socket_server.cc (100%) rename {include => src}/sled/network/null_socket_server.h (100%) rename src/{ => sled}/network/physical_socket_server.cc (100%) rename {include => src}/sled/network/physical_socket_server.h (100%) rename {include => src}/sled/network/socket.h (100%) rename src/{ => sled}/network/socket_address.cc (100%) rename {include => src}/sled/network/socket_address.h (100%) rename {include => src}/sled/network/socket_factory.h (100%) rename src/{ => sled}/network/socket_server.cc (100%) rename {include => src}/sled/network/socket_server.h (100%) rename {include => src}/sled/numerics/divide_round.h (100%) rename {include => src}/sled/numerics/fixed_point_number.h (100%) rename src/{ => sled}/operations_chain.cc (100%) rename {include => src}/sled/operations_chain.h (100%) rename {include => src}/sled/optional.h (100%) rename src/{ => sled}/profiling/profiling.cc (100%) rename {include => src}/sled/profiling/profiling.h (100%) rename src/{ => sled}/profiling/profiling_test.cc (100%) rename {include => src}/sled/queue/circle_queue.h (100%) rename src/{ => sled}/random.cc (100%) rename {include => src}/sled/random.h (100%) rename src/{ => sled}/random_bench.cc (100%) rename {include => src}/sled/ref_count.h (100%) rename {include => src}/sled/ref_counted_base.h (100%) rename {include => src}/sled/ref_counted_object.h (100%) rename {include => src}/sled/ref_counter.h (100%) rename {include => src}/sled/reflect/reflect.h (100%) rename {include => src}/sled/rx.h (100%) rename src/{ => sled}/rx_test.cc (100%) rename src/{ => sled}/sanitizer_test.cc (100%) rename {include => src}/sled/scoped_refptr.h (100%) rename src/{ => sled}/sigslot.cc (100%) rename {include => src}/sled/sigslot.h (100%) rename {include => src}/sled/sled.h (100%) rename src/{ => sled}/status.cc (100%) rename {include => src}/sled/status.h (100%) rename {include => src}/sled/status_or.h (100%) rename src/{ => sled}/status_or_test.cc (100%) rename src/{ => sled}/status_test.cc (100%) rename src/{ => sled}/strings/base64.cc (100%) rename {include => src}/sled/strings/base64.h (100%) rename src/{ => sled}/strings/base64_bench.cc (100%) rename src/{ => sled}/strings/base64_fuzz.cc (100%) rename src/{ => sled}/strings/base64_test.cc (100%) rename src/{ => sled}/strings/utils.cc (100%) rename {include => src}/sled/strings/utils.h (100%) rename {include => src}/sled/synchronization/call_once.h (100%) rename src/{ => sled}/synchronization/event.cc (100%) rename {include => src}/sled/synchronization/event.h (100%) rename src/{ => sled}/synchronization/mutex.cc (100%) rename {include => src}/sled/synchronization/mutex.h (100%) rename {include => src}/sled/synchronization/one_time_event.h (100%) rename src/{ => sled}/synchronization/sequence_checker.cc (100%) rename {include => src}/sled/synchronization/sequence_checker.h (100%) rename src/{ => sled}/synchronization/sequence_checker_test.cc (100%) rename src/{ => sled}/synchronization/thread_local.cc (100%) rename {include => src}/sled/synchronization/thread_local.h (100%) rename src/{ => sled}/system/fiber/fiber_bench.cc (100%) rename src/{ => sled}/system/fiber/fiber_test.cc (100%) rename {include => src}/sled/system/fiber/scheduler.h (100%) rename {include => src}/sled/system/fiber/wait_group.h (100%) rename src/{ => sled}/system/location.cc (100%) rename {include => src}/sled/system/location.h (100%) rename src/{ => sled}/system/pid.cc (100%) rename {include => src}/sled/system/pid.h (100%) rename src/{ => sled}/system/thread.cc (100%) rename {include => src}/sled/system/thread.h (100%) rename src/{ => sled}/system/thread_pool.cc (100%) rename {include => src}/sled/system/thread_pool.h (100%) rename src/{ => sled}/system/thread_pool_bench.cc (100%) rename src/{ => sled}/system/thread_pool_test.cc (100%) rename src/{ => sled}/system_time.cc (100%) rename {include => src}/sled/system_time.h (100%) rename src/{ => sled}/system_time_bench.cc (100%) rename src/{ => sled}/task_queue/pending_task_safety_flag.cc (100%) rename {include => src}/sled/task_queue/pending_task_safety_flag.h (100%) rename src/{ => sled}/task_queue/task_queue_base.cc (100%) rename {include => src}/sled/task_queue/task_queue_base.h (100%) rename src/{ => sled}/time_utils.cc (100%) rename {include => src}/sled/time_utils.h (100%) rename src/{ => sled}/timer/task_queue_timeout.cc (100%) rename {include => src}/sled/timer/task_queue_timeout.h (100%) rename {include => src}/sled/timer/timeout.h (100%) rename src/{ => sled}/timer/timer.cc (100%) rename {include => src}/sled/timer/timer.h (100%) rename src/{ => sled}/units/time_delta.cc (100%) rename {include => src}/sled/units/time_delta.h (100%) rename src/{ => sled}/units/timestamp.cc (100%) rename {include => src}/sled/units/timestamp.h (100%) rename {include => src}/sled/units/unit_base.h (100%) rename src/{ => sled}/uri.cc (100%) rename {include => src}/sled/uri.h (100%) rename src/{ => sled}/uri_test.cc (100%) rename {include => src}/sled/utility/move_on_copy.h (100%) rename {include => src}/sled/variant.h (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2253d19..28566a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ set(CMAKE_CXX_STANDARD_EXTENSIONS OFF) option(SLED_BUILD_BENCHMARK "Build benchmark" OFF) option(SLED_BUILD_TESTS "Build tests" OFF) option(SLED_BUILD_FUZZ "Build fuzzer test" OFF) -option(SLED_LOCATION_PATH "" "sled/src/system/location.cc") +option(SLED_LOCATION_PATH "" "sled/src/sled/system/location.cc") set(BUILD_STATIC ON) set(BUILD_RTTR_DYNAMIC OFF) @@ -40,43 +40,43 @@ if(SLED_LOCATION_PATH) sled PRIVATE __SLED_LOCATION_PATH="${SLED_LOCATION_PATH}") endif() # add_subdirectory(3party/eigen EXCLUDE_FROM_ALL) -target_include_directories(sled PUBLIC include 3party/eigen 3party/inja +target_include_directories(sled PUBLIC src/ 3party/eigen 3party/inja 3party/rxcpp) target_sources( sled - PRIVATE src/async/async.cc - src/filesystem/path.cc - src/log/log.cc - src/network/async_resolver.cc - src/network/ip_address.cc - src/network/null_socket_server.cc - src/network/physical_socket_server.cc - src/network/socket_address.cc - src/network/socket_server.cc - src/profiling/profiling.cc - src/strings/base64.cc - src/strings/utils.cc - src/synchronization/event.cc - src/synchronization/mutex.cc - src/synchronization/sequence_checker.cc - src/synchronization/thread_local.cc - src/system/location.cc - src/system/pid.cc - src/system/thread.cc - src/system/thread_pool.cc - src/task_queue/pending_task_safety_flag.cc - src/task_queue/task_queue_base.cc - src/timer/task_queue_timeout.cc - src/timer/timer.cc - src/units/time_delta.cc - src/units/timestamp.cc - src/operations_chain.cc - src/random.cc - src/sigslot.cc - src/status.cc - src/system_time.cc - src/time_utils.cc - src/uri.cc) + PRIVATE src/sled/async/async.cc + src/sled/filesystem/path.cc + src/sled/log/log.cc + src/sled/network/async_resolver.cc + src/sled/network/ip_address.cc + src/sled/network/null_socket_server.cc + src/sled/network/physical_socket_server.cc + src/sled/network/socket_address.cc + src/sled/network/socket_server.cc + src/sled/profiling/profiling.cc + src/sled/strings/base64.cc + src/sled/strings/utils.cc + src/sled/synchronization/event.cc + src/sled/synchronization/mutex.cc + src/sled/synchronization/sequence_checker.cc + src/sled/synchronization/thread_local.cc + src/sled/system/location.cc + src/sled/system/pid.cc + src/sled/system/thread.cc + src/sled/system/thread_pool.cc + src/sled/task_queue/pending_task_safety_flag.cc + src/sled/task_queue/task_queue_base.cc + src/sled/timer/task_queue_timeout.cc + src/sled/timer/timer.cc + src/sled/units/time_delta.cc + src/sled/units/timestamp.cc + src/sled/operations_chain.cc + src/sled/random.cc + src/sled/sigslot.cc + src/sled/status.cc + src/sled/system_time.cc + src/sled/time_utils.cc + src/sled/uri.cc) # set(BUILD_RTTR_DYNAMIC OFF) set(BUILD_UNIT_TESTS OFF) # set(BUILD_WITH_STATIC_RUNTIME_LIBS ON) set(BUILD_WITH_DOCUMENTATION OFF) # add_subdirectory(3party/rttr EXCLUDE_FROM_ALL) @@ -105,9 +105,9 @@ if(SLED_BUILD_BENCHMARK) add_executable( sled_benchmark - src/random_bench.cc src/strings/base64_bench.cc - src/system/fiber/fiber_bench.cc src/system/thread_pool_bench.cc - src/system_time_bench.cc) + src/sled/random_bench.cc src/sled/strings/base64_bench.cc + src/sled/system/fiber/fiber_bench.cc src/sled/system/thread_pool_bench.cc + src/sled/system_time_bench.cc) target_link_libraries(sled_benchmark PRIVATE sled benchmark::benchmark benchmark::benchmark_main) endif(SLED_BUILD_BENCHMARK) @@ -121,23 +121,23 @@ if(SLED_BUILD_TESTS) FetchContent_MakeAvailable(googletest) add_executable( sled_tests - # src/exec/just_test.cc - src/async/async_test.cc - src/any_test.cc - src/filesystem/path_test.cc - # src/futures/promise_test.cc - src/futures/detail/just_test.cc - src/log/fmt_test.cc - # src/profiling/profiling_test.cc - src/strings/base64_test.cc - src/synchronization/sequence_checker_test.cc - src/cleanup_test.cc - src/status_test.cc - src/status_or_test.cc - src/system/fiber/fiber_test.cc - src/system/thread_pool_test.cc - src/rx_test.cc - src/uri_test.cc) + # src/sled/exec/just_test.cc + src/sled/async/async_test.cc + src/sled/any_test.cc + src/sled/filesystem/path_test.cc + # src/sled/futures/promise_test.cc + src/sled/futures/detail/just_test.cc + src/sled/log/fmt_test.cc + # src/sled/profiling/profiling_test.cc + src/sled/strings/base64_test.cc + src/sled/synchronization/sequence_checker_test.cc + src/sled/cleanup_test.cc + src/sled/status_test.cc + src/sled/status_or_test.cc + src/sled/system/fiber/fiber_test.cc + src/sled/system/thread_pool_test.cc + src/sled/rx_test.cc + src/sled/uri_test.cc) if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") set(EXTRA_FLAGS -Wthread-safety -g -fsanitize=address -fno-omit-frame-pointer -fno-optimize-sibling-calls) @@ -160,5 +160,5 @@ if(SLED_BUILD_FUZZ) -fsanitize-coverage=trace-cmp) endmacro() - add_fuzz_test(base64_fuzz src/strings/base64_fuzz.cc) + add_fuzz_test(base64_fuzz src/sled/strings/base64_fuzz.cc) endif(SLED_BUILD_FUZZ) diff --git a/include/sled/any.h b/src/sled/any.h similarity index 100% rename from include/sled/any.h rename to src/sled/any.h diff --git a/src/any_test.cc b/src/sled/any_test.cc similarity index 100% rename from src/any_test.cc rename to src/sled/any_test.cc diff --git a/include/sled/apply.h b/src/sled/apply.h similarity index 100% rename from include/sled/apply.h rename to src/sled/apply.h diff --git a/src/async/async.cc b/src/sled/async/async.cc similarity index 100% rename from src/async/async.cc rename to src/sled/async/async.cc diff --git a/include/sled/async/async.h b/src/sled/async/async.h similarity index 100% rename from include/sled/async/async.h rename to src/sled/async/async.h diff --git a/src/async/async_test.cc b/src/sled/async/async_test.cc similarity index 100% rename from src/async/async_test.cc rename to src/sled/async/async_test.cc diff --git a/include/sled/buffer.h b/src/sled/buffer.h similarity index 100% rename from include/sled/buffer.h rename to src/sled/buffer.h diff --git a/include/sled/byte_order.h b/src/sled/byte_order.h similarity index 100% rename from include/sled/byte_order.h rename to src/sled/byte_order.h diff --git a/include/sled/cleanup.h b/src/sled/cleanup.h similarity index 100% rename from include/sled/cleanup.h rename to src/sled/cleanup.h diff --git a/src/cleanup_test.cc b/src/sled/cleanup_test.cc similarity index 100% rename from src/cleanup_test.cc rename to src/sled/cleanup_test.cc diff --git a/include/sled/exec/detail/invoke_result.h b/src/sled/exec/detail/invoke_result.h similarity index 100% rename from include/sled/exec/detail/invoke_result.h rename to src/sled/exec/detail/invoke_result.h diff --git a/src/exec/just_test.cc b/src/sled/exec/just_test.cc similarity index 100% rename from src/exec/just_test.cc rename to src/sled/exec/just_test.cc diff --git a/src/filesystem/path.cc b/src/sled/filesystem/path.cc similarity index 100% rename from src/filesystem/path.cc rename to src/sled/filesystem/path.cc diff --git a/include/sled/filesystem/path.h b/src/sled/filesystem/path.h similarity index 100% rename from include/sled/filesystem/path.h rename to src/sled/filesystem/path.h diff --git a/src/filesystem/path_test.cc b/src/sled/filesystem/path_test.cc similarity index 100% rename from src/filesystem/path_test.cc rename to src/sled/filesystem/path_test.cc diff --git a/include/sled/filesystem/temporary_file.h b/src/sled/filesystem/temporary_file.h similarity index 100% rename from include/sled/filesystem/temporary_file.h rename to src/sled/filesystem/temporary_file.h diff --git a/include/sled/futures/detail/delay.h b/src/sled/futures/detail/delay.h similarity index 100% rename from include/sled/futures/detail/delay.h rename to src/sled/futures/detail/delay.h diff --git a/include/sled/futures/detail/future.h b/src/sled/futures/detail/future.h similarity index 100% rename from include/sled/futures/detail/future.h rename to src/sled/futures/detail/future.h diff --git a/include/sled/futures/detail/just.h b/src/sled/futures/detail/just.h similarity index 100% rename from include/sled/futures/detail/just.h rename to src/sled/futures/detail/just.h diff --git a/src/futures/detail/just_test.cc b/src/sled/futures/detail/just_test.cc similarity index 100% rename from src/futures/detail/just_test.cc rename to src/sled/futures/detail/just_test.cc diff --git a/include/sled/futures/detail/on.h b/src/sled/futures/detail/on.h similarity index 100% rename from include/sled/futures/detail/on.h rename to src/sled/futures/detail/on.h diff --git a/include/sled/futures/detail/retry.h b/src/sled/futures/detail/retry.h similarity index 100% rename from include/sled/futures/detail/retry.h rename to src/sled/futures/detail/retry.h diff --git a/include/sled/futures/detail/then.h b/src/sled/futures/detail/then.h similarity index 100% rename from include/sled/futures/detail/then.h rename to src/sled/futures/detail/then.h diff --git a/include/sled/futures/detail/traits.h b/src/sled/futures/detail/traits.h similarity index 100% rename from include/sled/futures/detail/traits.h rename to src/sled/futures/detail/traits.h diff --git a/include/sled/futures/future.h b/src/sled/futures/future.h similarity index 100% rename from include/sled/futures/future.h rename to src/sled/futures/future.h diff --git a/include/sled/futures/promise.h b/src/sled/futures/promise.h similarity index 100% rename from include/sled/futures/promise.h rename to src/sled/futures/promise.h diff --git a/src/futures/promise_test.cc b/src/sled/futures/promise_test.cc similarity index 100% rename from src/futures/promise_test.cc rename to src/sled/futures/promise_test.cc diff --git a/include/sled/lang/attributes.h b/src/sled/lang/attributes.h similarity index 100% rename from include/sled/lang/attributes.h rename to src/sled/lang/attributes.h diff --git a/src/log/fmt_test.cc b/src/sled/log/fmt_test.cc similarity index 100% rename from src/log/fmt_test.cc rename to src/sled/log/fmt_test.cc diff --git a/src/log/log.cc b/src/sled/log/log.cc similarity index 100% rename from src/log/log.cc rename to src/sled/log/log.cc diff --git a/include/sled/log/log.h b/src/sled/log/log.h similarity index 100% rename from include/sled/log/log.h rename to src/sled/log/log.h diff --git a/include/sled/make_ref_counted.h b/src/sled/make_ref_counted.h similarity index 100% rename from include/sled/make_ref_counted.h rename to src/sled/make_ref_counted.h diff --git a/include/sled/make_unique.h b/src/sled/make_unique.h similarity index 100% rename from include/sled/make_unique.h rename to src/sled/make_unique.h diff --git a/src/network/async_resolver.cc b/src/sled/network/async_resolver.cc similarity index 100% rename from src/network/async_resolver.cc rename to src/sled/network/async_resolver.cc diff --git a/include/sled/network/async_resolver.h b/src/sled/network/async_resolver.h similarity index 100% rename from include/sled/network/async_resolver.h rename to src/sled/network/async_resolver.h diff --git a/include/sled/network/async_resolver_interface.h b/src/sled/network/async_resolver_interface.h similarity index 100% rename from include/sled/network/async_resolver_interface.h rename to src/sled/network/async_resolver_interface.h diff --git a/src/network/ip_address.cc b/src/sled/network/ip_address.cc similarity index 100% rename from src/network/ip_address.cc rename to src/sled/network/ip_address.cc diff --git a/include/sled/network/ip_address.h b/src/sled/network/ip_address.h similarity index 100% rename from include/sled/network/ip_address.h rename to src/sled/network/ip_address.h diff --git a/src/network/null_socket_server.cc b/src/sled/network/null_socket_server.cc similarity index 100% rename from src/network/null_socket_server.cc rename to src/sled/network/null_socket_server.cc diff --git a/include/sled/network/null_socket_server.h b/src/sled/network/null_socket_server.h similarity index 100% rename from include/sled/network/null_socket_server.h rename to src/sled/network/null_socket_server.h diff --git a/src/network/physical_socket_server.cc b/src/sled/network/physical_socket_server.cc similarity index 100% rename from src/network/physical_socket_server.cc rename to src/sled/network/physical_socket_server.cc diff --git a/include/sled/network/physical_socket_server.h b/src/sled/network/physical_socket_server.h similarity index 100% rename from include/sled/network/physical_socket_server.h rename to src/sled/network/physical_socket_server.h diff --git a/include/sled/network/socket.h b/src/sled/network/socket.h similarity index 100% rename from include/sled/network/socket.h rename to src/sled/network/socket.h diff --git a/src/network/socket_address.cc b/src/sled/network/socket_address.cc similarity index 100% rename from src/network/socket_address.cc rename to src/sled/network/socket_address.cc diff --git a/include/sled/network/socket_address.h b/src/sled/network/socket_address.h similarity index 100% rename from include/sled/network/socket_address.h rename to src/sled/network/socket_address.h diff --git a/include/sled/network/socket_factory.h b/src/sled/network/socket_factory.h similarity index 100% rename from include/sled/network/socket_factory.h rename to src/sled/network/socket_factory.h diff --git a/src/network/socket_server.cc b/src/sled/network/socket_server.cc similarity index 100% rename from src/network/socket_server.cc rename to src/sled/network/socket_server.cc diff --git a/include/sled/network/socket_server.h b/src/sled/network/socket_server.h similarity index 100% rename from include/sled/network/socket_server.h rename to src/sled/network/socket_server.h diff --git a/include/sled/numerics/divide_round.h b/src/sled/numerics/divide_round.h similarity index 100% rename from include/sled/numerics/divide_round.h rename to src/sled/numerics/divide_round.h diff --git a/include/sled/numerics/fixed_point_number.h b/src/sled/numerics/fixed_point_number.h similarity index 100% rename from include/sled/numerics/fixed_point_number.h rename to src/sled/numerics/fixed_point_number.h diff --git a/src/operations_chain.cc b/src/sled/operations_chain.cc similarity index 100% rename from src/operations_chain.cc rename to src/sled/operations_chain.cc diff --git a/include/sled/operations_chain.h b/src/sled/operations_chain.h similarity index 100% rename from include/sled/operations_chain.h rename to src/sled/operations_chain.h diff --git a/include/sled/optional.h b/src/sled/optional.h similarity index 100% rename from include/sled/optional.h rename to src/sled/optional.h diff --git a/src/profiling/profiling.cc b/src/sled/profiling/profiling.cc similarity index 100% rename from src/profiling/profiling.cc rename to src/sled/profiling/profiling.cc diff --git a/include/sled/profiling/profiling.h b/src/sled/profiling/profiling.h similarity index 100% rename from include/sled/profiling/profiling.h rename to src/sled/profiling/profiling.h diff --git a/src/profiling/profiling_test.cc b/src/sled/profiling/profiling_test.cc similarity index 100% rename from src/profiling/profiling_test.cc rename to src/sled/profiling/profiling_test.cc diff --git a/include/sled/queue/circle_queue.h b/src/sled/queue/circle_queue.h similarity index 100% rename from include/sled/queue/circle_queue.h rename to src/sled/queue/circle_queue.h diff --git a/src/random.cc b/src/sled/random.cc similarity index 100% rename from src/random.cc rename to src/sled/random.cc diff --git a/include/sled/random.h b/src/sled/random.h similarity index 100% rename from include/sled/random.h rename to src/sled/random.h diff --git a/src/random_bench.cc b/src/sled/random_bench.cc similarity index 100% rename from src/random_bench.cc rename to src/sled/random_bench.cc diff --git a/include/sled/ref_count.h b/src/sled/ref_count.h similarity index 100% rename from include/sled/ref_count.h rename to src/sled/ref_count.h diff --git a/include/sled/ref_counted_base.h b/src/sled/ref_counted_base.h similarity index 100% rename from include/sled/ref_counted_base.h rename to src/sled/ref_counted_base.h diff --git a/include/sled/ref_counted_object.h b/src/sled/ref_counted_object.h similarity index 100% rename from include/sled/ref_counted_object.h rename to src/sled/ref_counted_object.h diff --git a/include/sled/ref_counter.h b/src/sled/ref_counter.h similarity index 100% rename from include/sled/ref_counter.h rename to src/sled/ref_counter.h diff --git a/include/sled/reflect/reflect.h b/src/sled/reflect/reflect.h similarity index 100% rename from include/sled/reflect/reflect.h rename to src/sled/reflect/reflect.h diff --git a/include/sled/rx.h b/src/sled/rx.h similarity index 100% rename from include/sled/rx.h rename to src/sled/rx.h diff --git a/src/rx_test.cc b/src/sled/rx_test.cc similarity index 100% rename from src/rx_test.cc rename to src/sled/rx_test.cc diff --git a/src/sanitizer_test.cc b/src/sled/sanitizer_test.cc similarity index 100% rename from src/sanitizer_test.cc rename to src/sled/sanitizer_test.cc diff --git a/include/sled/scoped_refptr.h b/src/sled/scoped_refptr.h similarity index 100% rename from include/sled/scoped_refptr.h rename to src/sled/scoped_refptr.h diff --git a/src/sigslot.cc b/src/sled/sigslot.cc similarity index 100% rename from src/sigslot.cc rename to src/sled/sigslot.cc diff --git a/include/sled/sigslot.h b/src/sled/sigslot.h similarity index 100% rename from include/sled/sigslot.h rename to src/sled/sigslot.h diff --git a/include/sled/sled.h b/src/sled/sled.h similarity index 100% rename from include/sled/sled.h rename to src/sled/sled.h diff --git a/src/status.cc b/src/sled/status.cc similarity index 100% rename from src/status.cc rename to src/sled/status.cc diff --git a/include/sled/status.h b/src/sled/status.h similarity index 100% rename from include/sled/status.h rename to src/sled/status.h diff --git a/include/sled/status_or.h b/src/sled/status_or.h similarity index 100% rename from include/sled/status_or.h rename to src/sled/status_or.h diff --git a/src/status_or_test.cc b/src/sled/status_or_test.cc similarity index 100% rename from src/status_or_test.cc rename to src/sled/status_or_test.cc diff --git a/src/status_test.cc b/src/sled/status_test.cc similarity index 100% rename from src/status_test.cc rename to src/sled/status_test.cc diff --git a/src/strings/base64.cc b/src/sled/strings/base64.cc similarity index 100% rename from src/strings/base64.cc rename to src/sled/strings/base64.cc diff --git a/include/sled/strings/base64.h b/src/sled/strings/base64.h similarity index 100% rename from include/sled/strings/base64.h rename to src/sled/strings/base64.h diff --git a/src/strings/base64_bench.cc b/src/sled/strings/base64_bench.cc similarity index 100% rename from src/strings/base64_bench.cc rename to src/sled/strings/base64_bench.cc diff --git a/src/strings/base64_fuzz.cc b/src/sled/strings/base64_fuzz.cc similarity index 100% rename from src/strings/base64_fuzz.cc rename to src/sled/strings/base64_fuzz.cc diff --git a/src/strings/base64_test.cc b/src/sled/strings/base64_test.cc similarity index 100% rename from src/strings/base64_test.cc rename to src/sled/strings/base64_test.cc diff --git a/src/strings/utils.cc b/src/sled/strings/utils.cc similarity index 100% rename from src/strings/utils.cc rename to src/sled/strings/utils.cc diff --git a/include/sled/strings/utils.h b/src/sled/strings/utils.h similarity index 100% rename from include/sled/strings/utils.h rename to src/sled/strings/utils.h diff --git a/include/sled/synchronization/call_once.h b/src/sled/synchronization/call_once.h similarity index 100% rename from include/sled/synchronization/call_once.h rename to src/sled/synchronization/call_once.h diff --git a/src/synchronization/event.cc b/src/sled/synchronization/event.cc similarity index 100% rename from src/synchronization/event.cc rename to src/sled/synchronization/event.cc diff --git a/include/sled/synchronization/event.h b/src/sled/synchronization/event.h similarity index 100% rename from include/sled/synchronization/event.h rename to src/sled/synchronization/event.h diff --git a/src/synchronization/mutex.cc b/src/sled/synchronization/mutex.cc similarity index 100% rename from src/synchronization/mutex.cc rename to src/sled/synchronization/mutex.cc diff --git a/include/sled/synchronization/mutex.h b/src/sled/synchronization/mutex.h similarity index 100% rename from include/sled/synchronization/mutex.h rename to src/sled/synchronization/mutex.h diff --git a/include/sled/synchronization/one_time_event.h b/src/sled/synchronization/one_time_event.h similarity index 100% rename from include/sled/synchronization/one_time_event.h rename to src/sled/synchronization/one_time_event.h diff --git a/src/synchronization/sequence_checker.cc b/src/sled/synchronization/sequence_checker.cc similarity index 100% rename from src/synchronization/sequence_checker.cc rename to src/sled/synchronization/sequence_checker.cc diff --git a/include/sled/synchronization/sequence_checker.h b/src/sled/synchronization/sequence_checker.h similarity index 100% rename from include/sled/synchronization/sequence_checker.h rename to src/sled/synchronization/sequence_checker.h diff --git a/src/synchronization/sequence_checker_test.cc b/src/sled/synchronization/sequence_checker_test.cc similarity index 100% rename from src/synchronization/sequence_checker_test.cc rename to src/sled/synchronization/sequence_checker_test.cc diff --git a/src/synchronization/thread_local.cc b/src/sled/synchronization/thread_local.cc similarity index 100% rename from src/synchronization/thread_local.cc rename to src/sled/synchronization/thread_local.cc diff --git a/include/sled/synchronization/thread_local.h b/src/sled/synchronization/thread_local.h similarity index 100% rename from include/sled/synchronization/thread_local.h rename to src/sled/synchronization/thread_local.h diff --git a/src/system/fiber/fiber_bench.cc b/src/sled/system/fiber/fiber_bench.cc similarity index 100% rename from src/system/fiber/fiber_bench.cc rename to src/sled/system/fiber/fiber_bench.cc diff --git a/src/system/fiber/fiber_test.cc b/src/sled/system/fiber/fiber_test.cc similarity index 100% rename from src/system/fiber/fiber_test.cc rename to src/sled/system/fiber/fiber_test.cc diff --git a/include/sled/system/fiber/scheduler.h b/src/sled/system/fiber/scheduler.h similarity index 100% rename from include/sled/system/fiber/scheduler.h rename to src/sled/system/fiber/scheduler.h diff --git a/include/sled/system/fiber/wait_group.h b/src/sled/system/fiber/wait_group.h similarity index 100% rename from include/sled/system/fiber/wait_group.h rename to src/sled/system/fiber/wait_group.h diff --git a/src/system/location.cc b/src/sled/system/location.cc similarity index 100% rename from src/system/location.cc rename to src/sled/system/location.cc diff --git a/include/sled/system/location.h b/src/sled/system/location.h similarity index 100% rename from include/sled/system/location.h rename to src/sled/system/location.h diff --git a/src/system/pid.cc b/src/sled/system/pid.cc similarity index 100% rename from src/system/pid.cc rename to src/sled/system/pid.cc diff --git a/include/sled/system/pid.h b/src/sled/system/pid.h similarity index 100% rename from include/sled/system/pid.h rename to src/sled/system/pid.h diff --git a/src/system/thread.cc b/src/sled/system/thread.cc similarity index 100% rename from src/system/thread.cc rename to src/sled/system/thread.cc diff --git a/include/sled/system/thread.h b/src/sled/system/thread.h similarity index 100% rename from include/sled/system/thread.h rename to src/sled/system/thread.h diff --git a/src/system/thread_pool.cc b/src/sled/system/thread_pool.cc similarity index 100% rename from src/system/thread_pool.cc rename to src/sled/system/thread_pool.cc diff --git a/include/sled/system/thread_pool.h b/src/sled/system/thread_pool.h similarity index 100% rename from include/sled/system/thread_pool.h rename to src/sled/system/thread_pool.h diff --git a/src/system/thread_pool_bench.cc b/src/sled/system/thread_pool_bench.cc similarity index 100% rename from src/system/thread_pool_bench.cc rename to src/sled/system/thread_pool_bench.cc diff --git a/src/system/thread_pool_test.cc b/src/sled/system/thread_pool_test.cc similarity index 100% rename from src/system/thread_pool_test.cc rename to src/sled/system/thread_pool_test.cc diff --git a/src/system_time.cc b/src/sled/system_time.cc similarity index 100% rename from src/system_time.cc rename to src/sled/system_time.cc diff --git a/include/sled/system_time.h b/src/sled/system_time.h similarity index 100% rename from include/sled/system_time.h rename to src/sled/system_time.h diff --git a/src/system_time_bench.cc b/src/sled/system_time_bench.cc similarity index 100% rename from src/system_time_bench.cc rename to src/sled/system_time_bench.cc diff --git a/src/task_queue/pending_task_safety_flag.cc b/src/sled/task_queue/pending_task_safety_flag.cc similarity index 100% rename from src/task_queue/pending_task_safety_flag.cc rename to src/sled/task_queue/pending_task_safety_flag.cc diff --git a/include/sled/task_queue/pending_task_safety_flag.h b/src/sled/task_queue/pending_task_safety_flag.h similarity index 100% rename from include/sled/task_queue/pending_task_safety_flag.h rename to src/sled/task_queue/pending_task_safety_flag.h diff --git a/src/task_queue/task_queue_base.cc b/src/sled/task_queue/task_queue_base.cc similarity index 100% rename from src/task_queue/task_queue_base.cc rename to src/sled/task_queue/task_queue_base.cc diff --git a/include/sled/task_queue/task_queue_base.h b/src/sled/task_queue/task_queue_base.h similarity index 100% rename from include/sled/task_queue/task_queue_base.h rename to src/sled/task_queue/task_queue_base.h diff --git a/src/time_utils.cc b/src/sled/time_utils.cc similarity index 100% rename from src/time_utils.cc rename to src/sled/time_utils.cc diff --git a/include/sled/time_utils.h b/src/sled/time_utils.h similarity index 100% rename from include/sled/time_utils.h rename to src/sled/time_utils.h diff --git a/src/timer/task_queue_timeout.cc b/src/sled/timer/task_queue_timeout.cc similarity index 100% rename from src/timer/task_queue_timeout.cc rename to src/sled/timer/task_queue_timeout.cc diff --git a/include/sled/timer/task_queue_timeout.h b/src/sled/timer/task_queue_timeout.h similarity index 100% rename from include/sled/timer/task_queue_timeout.h rename to src/sled/timer/task_queue_timeout.h diff --git a/include/sled/timer/timeout.h b/src/sled/timer/timeout.h similarity index 100% rename from include/sled/timer/timeout.h rename to src/sled/timer/timeout.h diff --git a/src/timer/timer.cc b/src/sled/timer/timer.cc similarity index 100% rename from src/timer/timer.cc rename to src/sled/timer/timer.cc diff --git a/include/sled/timer/timer.h b/src/sled/timer/timer.h similarity index 100% rename from include/sled/timer/timer.h rename to src/sled/timer/timer.h diff --git a/src/units/time_delta.cc b/src/sled/units/time_delta.cc similarity index 100% rename from src/units/time_delta.cc rename to src/sled/units/time_delta.cc diff --git a/include/sled/units/time_delta.h b/src/sled/units/time_delta.h similarity index 100% rename from include/sled/units/time_delta.h rename to src/sled/units/time_delta.h diff --git a/src/units/timestamp.cc b/src/sled/units/timestamp.cc similarity index 100% rename from src/units/timestamp.cc rename to src/sled/units/timestamp.cc diff --git a/include/sled/units/timestamp.h b/src/sled/units/timestamp.h similarity index 100% rename from include/sled/units/timestamp.h rename to src/sled/units/timestamp.h diff --git a/include/sled/units/unit_base.h b/src/sled/units/unit_base.h similarity index 100% rename from include/sled/units/unit_base.h rename to src/sled/units/unit_base.h diff --git a/src/uri.cc b/src/sled/uri.cc similarity index 100% rename from src/uri.cc rename to src/sled/uri.cc diff --git a/include/sled/uri.h b/src/sled/uri.h similarity index 100% rename from include/sled/uri.h rename to src/sled/uri.h diff --git a/src/uri_test.cc b/src/sled/uri_test.cc similarity index 100% rename from src/uri_test.cc rename to src/sled/uri_test.cc diff --git a/include/sled/utility/move_on_copy.h b/src/sled/utility/move_on_copy.h similarity index 100% rename from include/sled/utility/move_on_copy.h rename to src/sled/utility/move_on_copy.h diff --git a/include/sled/variant.h b/src/sled/variant.h similarity index 100% rename from include/sled/variant.h rename to src/sled/variant.h