#dis #ieee

open-dis-rust

A Rust implementation of the IEEE 1278.1 DIS Standard

5 releases

0.1.0-alpha.4 Nov 11, 2023
0.1.0-alpha.3 Nov 8, 2023
0.1.0-alpha.2 Nov 4, 2023
0.1.0-alpha.1 Oct 29, 2023
0.1.0-alpha Oct 27, 2023

#23 in Simulation

Download history 8/week @ 2023-10-21 36/week @ 2023-10-28 49/week @ 2023-11-04 24/week @ 2023-11-11 6/week @ 2023-11-18

123 downloads per month

BSD-2-Clause

260KB
7K SLoC

🦀 Open DIS Rust

Stargazers Crates.io Version Issues Contributors
Documentation Maintained

 

💭 About

Rust implementation of the IEEE-1278.1 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-2020.

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

Example Usage

use bytes::BytesMut;

// Import the Open DIS crate
extern crate open_dis_rust;
use open_dis_rust::simulation_management::acknowledge_pdu::AcknowledgePdu;

// Create a new AcknowledgePdu with default data
let ack_pdu = AcknowledgePdu::default();
let mut buffer = BytesMut::new();
Pdu::serialize(&ack_pdu, &mut buffer);

Copyright © 2023-present Cameron Howell

Dependencies

~1.5–2.3MB
~43K SLoC