A single header style allows you to customize the library with the preprocessor before `#include`. I use this ability to implement generics. Otherwise, you're stuck with void* or code generation (want my python script instead?).
However, you don't have to forgo the benefits of separate compilation units. You can include the declarations in a header, and the implementation in a separate C file. No other parts of the code base will be impacted.
Apparently few can. How many image libraries came before `stb_image`? KISS is a feature.
Also, tooling changes between platforms and build systems.
I understand that some libraries are themselves so big and complex that they need a build system. Each library I want to use that doesn’t is a blessing.
Can you suggest what tooling actually can help to implement algorithms and data structures libraries with generic types in a clean way?