#ieee #dis

open-dis-rust

A Rust implementation of the IEEE 1278.1 DIS Standard

9 releases

0.1.0-alpha.8 Jan 15, 2024
0.1.0-alpha.7 Jan 14, 2024
0.1.0-alpha.6 Dec 18, 2023
0.1.0-alpha.4 Nov 11, 2023
0.1.0-alpha.1 Oct 29, 2023

#28 in Simulation

Download history 6/week @ 2024-01-09 9/week @ 2024-02-13 133/week @ 2024-02-20 16/week @ 2024-02-27 11/week @ 2024-03-12 10/week @ 2024-03-26 48/week @ 2024-04-02

58 downloads per month

BSD-2-Clause

360KB
10K 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.6–2.4MB
~46K SLoC