Right now we only send the exact packet length on the wire. Automatically determining the size is easy with size_of, but since there are multiple sub packets, we'd need to use core::cmp::max in a const context. This is available in latest nightly, but not on 1.91. When we update our MSRV, we should finish this automation.
Right now we only send the exact packet length on the wire. Automatically determining the size is easy with size_of, but since there are multiple sub packets, we'd need to use core::cmp::max in a const context. This is available in latest nightly, but not on 1.91. When we update our MSRV, we should finish this automation.