3 releases (breaking)

0.3.0 Aug 13, 2025
0.2.0 Aug 11, 2025
0.1.0 Aug 21, 2024

#4 in #network-proxy

Download history 5/week @ 2025-10-10 17/week @ 2025-10-17 5/week @ 2025-10-24

138 downloads per month
Used in 3 crates

GPL-3.0-or-later

68KB
2K SLoC

asport

An implementation of ASPORT protocol.

Version Documentation License

Overview

The ASPORT protocol specification can be found in SPEC.md. This crate provides an implementation of the ASPORT protocol in Rust as a reference.

Here is a list of optional features that can be enabled:

  • model - Provides a connection model abstraction of the ASPORT protocol, with packet fragmentation and task counter built-in. No I/O operation is involved.
  • marshal - Provides methods for marshalling and unmarshalling the protocol in sync flavor.
  • async_marshal - Provides methods for marshalling and unmarshalling the protocol in async flavor.

The root of the protocol abstraction is the Header.

Usage

Run the following command to add this crate as a dependency:

cargo add asport

License

This crate is licensed under GNU General Public License v3.0 or later.

SPDX-License-Identifier: GPL-3.0-or-later

Dependencies

~0.5–1.4MB
~29K SLoC