4 releases (breaking)

0.9.0 May 3, 2024
0.8.0 Mar 18, 2023
0.2.0 Mar 26, 2022
0.1.0 Sep 13, 2020

#4 in #webtorrent

Download history 38/week @ 2024-02-19 10/week @ 2024-02-26 1/week @ 2024-03-04 9/week @ 2024-03-11 8/week @ 2024-03-25 21/week @ 2024-04-01 170/week @ 2024-04-29 9/week @ 2024-05-06 17/week @ 2024-05-20

196 downloads per month
Used in 3 crates (2 directly)

Apache-2.0

30KB
653 lines

aquatic_ws_protocol: WebTorrent tracker protocol

WebTorrent tracker message parsing and serialization.


lib.rs:

WebTorrent protocol implementation

Typical announce workflow:

  • Peer A sends announce request with info hash and offers
  • Tracker sends on offers to other peers announcing with that info hash and sends back announce response to peer A
  • Tracker receives answers to those offers from other peers and send them on to peer A

Typical scrape workflow

  • Peer sends scrape request and receives scrape response

Dependencies

~7.5MB
~132K SLoC