Skip to content

Expose thread-local scratch helper for message rendering - #710

Merged
oferchen merged 1 commit into
masterfrom
implement-pure-rust-rsync-with-protocol-32
Oct 19, 2025
Merged

oferchen merged 1 commit into
masterfrom
implement-pure-rust-rsync-with-protocol-32

Conversation

@oferchen

@oferchen oferchen commented Oct 19, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • add MessageScratch::with_thread_local for borrowing the shared scratch buffer without manual storage
  • have Message rendering helpers reuse the new API and refresh documentation accordingly
  • cover the helper with a regression test to ensure it remains usable from clients

Testing

  • cargo test

@oferchen
oferchen merged commit 2c03527 into master Oct 19, 2025
@oferchen
oferchen deleted the implement-pure-rust-rsync-with-protocol-32 branch October 19, 2025 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant