10 releases
new 0.1.0-alpha.9 | May 10, 2024 |
---|---|
0.1.0-alpha.8 | Jan 15, 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 |
#20 in Simulation
152 downloads per month
550KB
15K
SLoC
🦀 Open DIS Rust
💭 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>"
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 -- --udp 127.0.0.1:3000
A 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
~45K SLoC