Improve connection shutdown (#22).
upmethods to the transport API.
shutdownto start a clean shutdown of the connection.
upto detect that a connection is shutting down (to avoid logging pointless errors).
Log exceptions handling messages instead of aborting the connection (#21).
Most errors are not fatal, and closing the connection means the application can't even e.g. prompt the user to save their work.
Server.dump(#20). Useful for finding object reference leaks.
Proxy.pp_transport(#19). Useful for logging when you have multiple connections.
on_deletehandlers when the connection ends (#18).
Allows them to be used for cleaning up resources.
set_pausedto pause processing of incoming messages (#17).
This is useful to check whether a proxy has been destroyed.
Proxy.idif the proxy is destroyed.
This appears to be identical to gtk-primary-selection except for the name and that it's marked as unstable.
But sway has dropped support for the old name (see https://github.com/swaywm/sway/pull/5788).
Update to latest Fmt API.
Fix deprecation warning with cstruct 6.0.1.
Add license field to opam metadata.