3 releases
new 0.1.1 | Dec 11, 2024 |
---|---|
0.1.0 | Oct 26, 2024 |
0.1.0-beta.0 |
|
0.1.0-alpha.9 |
|
0.1.0-alpha.1 |
|
#20 in Simulation
1MB
27K
SLoC
🦀 Open DIS Rust
💭 About
Rust implementation of the IEEE 1278.1-2012 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-2023.
📕 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>"
Examples
This package contains some examples for transmitting PDUs via UDP. To run the example, both the client and the server applications need to be executed. Start by running the server as follows:
cargo run --example udp_server
Then, in another terminal on the same machine, run the client as follows:
cargo run --example udp_client
An Acknowledge PDU will be transmitted from the client to the server, and then the data within the PDU will be echoed back to the client and displayed in the terminal.
Copyright © 2023-present Cameron Howell
Dependencies
~1.5–2.4MB
~44K SLoC