How large is the D-Bus reference implementation?
A production build (with assertions, unit tests, and verbose logging disabled) is on the order of a 150K shared library. A much, much smaller implementation would be possible by omitting out of memory handling, hardcoding a main loop (or always using blocking I/O), skipping validation, and otherwise simplifying things.