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