A zero-allocation, fragment-aware, inline C++20 protocol parser.
FluxParse provides a deterministic, stack-based finite state machine for parsing fragmented byte streams. It operates entirely on std::span without heap allocation, making it suitable for embedded systems, high-frequency trading, and real-time networking.
- Zero Allocation: No
malloc/newafter static initialization. - Fragment-Aware: Designed to handle fragmented network data streams.
- Modern C++: Requires C++20 minimum.
- GCC 12+
- Clang 15+
- MSVC 19.35+
Add FluxParse to your project using CMake FetchContent:
include(FetchContent)
FetchContent_Declare(
FluxParse
GIT_REPOSITORY https://github.com/fluxparse/fluxparse.git
GIT_TAG v0.1.0
)
FetchContent_MakeAvailable(FluxParse)
target_link_libraries(your_target PRIVATE FluxParse::FluxParse)MIT License