1 unstable release

0.1.0 Aug 21, 2024

#2227 in Network programming

Download history 162/week @ 2024-08-19 24/week @ 2024-08-26 16/week @ 2024-09-02 2/week @ 2024-09-09 12/week @ 2024-09-16 21/week @ 2024-09-23 7/week @ 2024-09-30 2/week @ 2024-10-07 22/week @ 2024-10-14

52 downloads per month
Used in 3 crates

GPL-3.0-or-later

67KB
2K SLoC

asport

An implementation of ASPORT protocol.

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–5.5MB
~28K SLoC