feat(mux/rust): make cargo-publish ready for v0.1.0

- Add version to donglora-client dependency for crates.io
- Set TCP_NODELAY on accepted TCP connections for low-latency framing
- Add CHANGELOG.md
This commit is contained in:
swaits committed 2026-04-06 14:50:00 -06:00
1 parent 9aeec80d7a
commit 57e0fb0aee
3 files changed
+23 -1

No files matched your search

+2
View File
@@ -495,6 +495,8 @@ async fn accept_tcp_clients(
match accept_result {
Ok((stream, addr)) => {
debug!("TCP connection from {addr}");
// Low-latency: disable Nagle (COBS frames are small)
let _ = stream.set_nodelay(true);
let (read_half, write_half) = stream.into_split();
spawn_client(read_half, write_half, state.clone(), cmd_tx.clone(), shutdown.clone());
}