< 返回版块

al8n 发表于 2025-03-05 01:42

Tags:gossip,memberlist

repo: https://github.com/al8n/memberlist

crates: https://crates.io/crates/memberlist

discord: https://discord.gg/f3EtWBM7ke

0.6.5

Features

  • Add send_many to let users send multiple packets through an unreliable connection.
  • Add send_many_reliable to let users send multiple packets through reliable connection.
  • Redesign the Transport trait, making it easier for users to implement.
  • Rewriting encoding/decoding to support forward and backward compatibility.
  • Support zstd, brotli, lz4, and snappy for compressing.
  • Support crc32, xxhash64, xxhash32, xxhash3, murmur3 for checksuming.
  • Unify returned error, all exported APIs return Error on Result::Err.

Example

  • Add toydb (an eventually consistent distributed database) example

Breakage

  • Remove native-tls support
  • Remove s2n-quic supports
  • Remove Wire trait to simplify Transport trait
  • Remove JoinError, add a new Error::Multiple variant

Testing

  • Add fuzzy testing for encoding/decoding

Ext Link: https://github.com/al8n/memberlist

评论区

写评论

还没有评论

1 共 0 条评论, 1 页