luke-else / open-dis-rust

Rust implementation of the IEEE-1278.1 Distributed Interactive Simulation (DIS) application protocol

Home Page:https://crates.io/crates/open-dis-rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ¦€ 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

About

Rust implementation of the IEEE-1278.1 Distributed Interactive Simulation (DIS) application protocol

https://crates.io/crates/open-dis-rust

License:BSD 2-Clause "Simplified" License


Languages

Language:Rust 100.0%