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

#2094 in Network programming

Download history 37/week @ 2024-02-18 9/week @ 2024-02-25 2/week @ 2024-03-03 10/week @ 2024-03-10 6/week @ 2024-03-24 22/week @ 2024-03-31 1/week @ 2024-04-07 163/week @ 2024-04-28 16/week @ 2024-05-05

179 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
~131K SLoC