1 unstable release
0.1.0 | Aug 21, 2024 |
---|
#2227 in Network programming
52 downloads per month
Used in 3 crates
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