Add format utility

This commit is contained in:
2025-08-28 14:01:43 -04:00
parent 6fb57619c5
commit bc0d5a7422
5 changed files with 1306 additions and 1 deletions

View File

@@ -112,6 +112,7 @@ set(SOURCES
src/json_commit_request_parser.cpp
src/http_handler.cpp
src/arena_allocator.cpp
src/format.cpp
${CMAKE_BINARY_DIR}/json_tokens.cpp)
add_executable(weaseldb ${SOURCES})
@@ -133,7 +134,7 @@ target_include_directories(test_data PUBLIC benchmarks)
target_link_libraries(test_data simdutf::simdutf)
add_executable(test_arena_allocator tests/test_arena_allocator.cpp
src/arena_allocator.cpp)
src/arena_allocator.cpp src/format.cpp)
target_link_libraries(test_arena_allocator doctest::doctest)
target_include_directories(test_arena_allocator PRIVATE src)
target_compile_options(test_arena_allocator PRIVATE -UNDEBUG)