torrust_tracker/shared/bit_torrent/
mod.rs

1//! Common code for the `BitTorrent` protocol.
2//!
3//! # Glossary
4//!
5//! - [Announce](#announce)
6//! - [Info Hash](#info-hash)
7//! - [Leecher](#leechers)
8//! - [Peer ID](#peer-id)
9//! - [Peer List](#peer-list)
10//! - [Peer](#peer)
11//! - [Scrape](#scrape)
12//! - [Seeders](#seeders)
13//! - [Swarm](#swarm)
14//! - [Tracker](#tracker)
15//!
16//! Glossary of `BitTorrent` terms.
17//!
18//! # Announce
19//!
20//! A request to the tracker to announce the presence of a peer.
21//!
22//! ## Info Hash
23//!
24//! A unique identifier for a torrent.
25//!
26//! ## Leecher
27//!
28//! Peers that are only downloading data.
29//!
30//! ## Peer ID
31//!
32//! A unique identifier for a peer.
33//!
34//! ## Peer List
35//!
36//! A list of peers that are downloading a torrent.
37//!
38//! ## Peer
39//!
40//! A client that is downloading or uploading a torrent.
41//!
42//! ## Scrape
43//!
44//! A request to the tracker to get information about a torrent.
45//!
46//! ## Seeder
47//!
48//! Peers that are only uploading data.
49//!
50//! ## Swarm
51//!
52//! A group of peers that are downloading the same torrent.
53//!
54//! ## Tracker
55//!
56//! A server that keeps track of peers that are downloading a torrent.
57//!
58//! # Links
59//!
60//! Description | Link
61//! ---|---
62//! `BitTorrent.org`. A forum for developers to exchange ideas about the direction of the `BitTorrent` protocol | <https://www.bittorrent.org>
63//! Wikipedia entry for Glossary of `BitTorrent` term | <https://en.wikipedia.org/wiki/Glossary_of_BitTorrent_terms>
64//! `BitTorrent` Specification Wiki | <https://wiki.theory.org/BitTorrentSpecification>
65//! Vuze Wiki. A `BitTorrent` client implementation | <https://wiki.vuze.com>
66//! `libtorrent`. Complete C++ bittorrent implementation| <https://www.rasterbar.com/products/libtorrent/index.html>
67//! UDP Tracker Protocol docs by `libtorrent` | <https://www.rasterbar.com/products/libtorrent/udp_tracker_protocol.html>
68//! Percent Encoding spec | <https://datatracker.ietf.org/doc/html/rfc3986#section-2.1>
69//!Bencode & bdecode in your browser | <https://github.com/Chocobo1/bencode_online>
70pub mod common;
71pub mod info_hash;
72pub mod tracker;