Crates.io | open-dis-rust |
lib.rs | open-dis-rust |
version | 0.1.0 |
source | src |
created_at | 2023-10-27 17:35:36.342103 |
updated_at | 2024-10-26 06:27:51.998323 |
description | A Rust implementation of the IEEE 1278.1-2012 DIS Standard. |
homepage | |
repository | https://github.com/crhowell3/open-dis-rust |
max_upload_size | |
id | 1016271 |
size | 955,373 |
Â
Rust implementation of the IEEE 1278.1-2012 Distributed Interactive Simulation (DIS) application protocol. This library was implemented according to the IEEE Std 1278.1-2012 publication as well as SISO-REF-010-2023.
The documentation for the latest version of this library can be found here. All previously published versions of this package can be found on crates.io, and each version's respective documentation is accessible from there as well.
This library can be installed using cargo:
cargo add open-dis-rust
or by adding this to your project's Cargo.toml [dependencies]
section:
open-dis-rust = "<insert version>"
This package contains some examples for transmitting PDUs via UDP. To run the example, both the client and the server applications need to be executed. Start by running the server as follows:
cargo run --example udp_server
Then, in another terminal on the same machine, run the client as follows:
cargo run --example udp_client
An Acknowledge PDU will be transmitted from the client to the server, and then the data within the PDU will be echoed back to the client and displayed in the terminal.
Copyright © 2023-present Cameron Howell