My comment was suggesting that it's more than just a "lightweight" HTTP/websockets/MQTT library.
The majority of the things I list are optional features of the core library (rather than examples) enabled by cmake flags, some of which look to be enabled by default:
option(LWS_WITH_JPEG "Enable stateful JPEG stream decoder" ON)
I would be slightly surprised if I saw a dependency on "libwebsockets" and found that it brought in a JPEG decoder, for example.
All these extra features may imply that it's grown past its original goals, and that the other bits and pieces could be split into smaller parts, etc.