Skip to main content

Crate apt_transport

Crate apt_transport 

Source
Expand description

§apt-transport - Generic APT Transport Handling

This crate is a high-level repackaging of apt-transport-blob that provides a generic wrapper around APT transport message parsing and a convenient interface around building custom APT transports in Rust.

§License

Based largely on apt-transport-blob by Max Dymond, the Microsoft Corporation, and Alianza Inc, all of which is released under the MIT License. See the original repository at https://github.com/Metaswitch/apt-transport-blob.

This repository’s code itself and all modifications are Copyright © 2026 by Josh Junon, also released under the MIT License.

Modules§

message
Raw message types and parsing for APT transport protocol.

Structs§

AptStream
Asynchronous event stream for APT transport implementations.
CapabilitiesRequest
An APT capabilities request.
CapabilitiesResponse
A builder for APT capabilities responses.
ConfigRequest
Configuration request, containing all configuration options.
UriRequest
A request against the URI.

Enums§

AptRequest
An APT request.
Error
Error type for all APT transport operations.