#ieee #dis

open-dis-rust

A Rust implementation of the IEEE 1278.1-2012 DIS Standard

2 releases

0.1.0 Oct 26, 2024
0.1.0-beta.0 Aug 6, 2024
0.1.0-alpha.9 May 10, 2024
0.1.0-alpha.8 Jan 15, 2024
0.1.0-alpha.1 Oct 29, 2023

#20 in Simulation

Download history 258/week @ 2024-08-05 2/week @ 2024-08-12 32/week @ 2024-09-16 6/week @ 2024-09-23 42/week @ 2024-09-30 208/week @ 2024-10-21 36/week @ 2024-10-28 3/week @ 2024-11-04

247 downloads per month

BSD-2-Clause

1MB
27K SLoC

🦀 Open DIS Rust

Stargazers Crates.io Version Issues Contributors
Documentation Maintained

 

💭 About

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.

📕 Documentation

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.

🔰 Getting Started

Installation

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>"

Examples

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

Dependencies

~1.5–2.4MB
~44K SLoC