chore: initial sanitized public snapshot

This commit is contained in:
Aria2 Rust Pro Contributors
2026-07-18 15:24:15 +08:00
commit e489b29e01
321 changed files with 76890 additions and 0 deletions
@@ -0,0 +1,28 @@
//! Shared compatibility helpers that bridge dispatcher state into aria2-style payloads.
pub(super) use self::{
bt_runtime::*, dht::*, peer_wire::*, rpc_surface::*, selection::*, tracker::*,
};
use super::{
AtomicU64, BTreeMap, BTreeSet, BtFileInfo, BtPeerInfo, BtRuntimeCoordinatorAction,
BtRuntimeCoordinatorStepReport, BtRuntimeCoordinatorStepStatus, BtRuntimeState, BtTrackerInfo,
DhtMessageModel, DhtNodeModel, Digest, DownloadId, MagnetBootstrapModel, MagnetUriModel,
Ordering, PeerWireBlockRequestModel, PeerWireExtensionHandshakeModel, PeerWireHandshakeModel,
PeerWireMessageKind, PeerWireMetadataMessageModel, PeerWirePieceBlockModel,
PeerWireTransportRequest, PeerWireTransportResponse, PieceId, PieceMap, PieceState,
RequestGroup, RpcError, Sha1, SystemTime, TorrentMessageModel, TorrentMetadataModel,
TrackerRequestModel, TransportEndpoint, TransportScheme, UNIX_EPOCH, parse_torrent_metadata,
};
/// BitTorrent runtime state construction and accounting helpers.
mod bt_runtime;
/// DHT request construction and compact payload parsing helpers.
mod dht;
/// Peer-wire request, response, and accounting helpers.
mod peer_wire;
/// RPC-facing compatibility value formatting helpers.
mod rpc_surface;
/// BitTorrent file selection option helpers.
mod selection;
/// Tracker announce request construction helpers.
mod tracker;