Files
aria2-rust-pro/crates/aria2-rust-pro-rpc/src/dispatcher/compat_support.rs
T

29 lines
1.3 KiB
Rust

//! 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;