chore(deps): Bump proptest from 1.11.0 to 1.12.0 (#121)
Bumps proptest from 1.11.0 to 1.12.0.
updated-dependencies:
- dependency-name: proptest dependency-version: 1.12.0 dependency-type: direct:production update-type: version-update:semver-minor …
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Vortex Protocol
Introduction
Vortex protocol is a high-performance peer-to-peer (P2P) file transfer protocol implementation in Rust, designed as part of the Dragonfly project. It utilizes the TLV (Tag-Length-Value) format for efficient and flexible data transmission, making it ideal for large-scale file distribution scenarios.
Features
Usage
Every TLV value implements
Message, which encodes into anyBufMutand decodes from a byte slice.encode_packetprepends the packet header;Vortex::decodeparses a whole packet.The wire format is stable across releases: peers running different versions of the crate interoperate, and
tests/wire_format.rspins the bytes produced by earlier releases.Documentation
For details, please see the specification.
Benchmarking
Vortex protocol includes benchmarks for encoding and decoding every message and whole packets: