open-dis-rust 0.1.0-alpha.6

A Rust implementation of the IEEE 1278.1 DIS Standard.
Documentation
open-dis-rust-0.1.0-alpha.6 has been yanked.

 

💭 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);