#dis #simulation

dis-rust

A rust implementation of the DIS simulation protocol

15 releases

Uses new Rust 2021

0.2.10 Aug 24, 2022
0.2.9 Aug 24, 2022
0.1.3 Jul 9, 2022

#31 in Simulation

AGPL-3.0-only

140KB
2.5K SLoC

DIS-rust

forthebadge forthebadge

forthebadge forthebadge forthebadge

forthebadge forthebadge

A rust implementation of the DIS simulation protocol.

Getting Started

Introductions to DIS can be found here:

Currently supported DIS PDUs are:

Note that it is up to the application to decode simulation-specific enumerations. A good starting point are the SISO enumerations.

Prerequisites

Requirements for the software and other tools to build, test and push:

Installing

The easiest way to include this crate in your project is to simply add the following to your Cargo.toml file:

dis-rust = "0.2.10"

Documentation

Further documentation can be found on docs.rs.

Running the tests

Unit tests can be run using cargo:

cargo test

Style tests

Clippy will complain about the linting within dis-rust due the DIS enumerations.

Rustc will complain about the DIS procotol version enumerations in the PDU header record. These warnings have been disabled in-line within the source code.

Versioning

We use Semantic Versioning for versioning. For the versions available, see the tags on this repository.

Authors

This project is dual licensed under the AGPLv3.0 License - see the LICENSE file for details.

It is also available under a commerical license. Please email contact@coffeebreakdevs.co.uk for more details.

Copyright (C) 2022 Thomas Mann

Dependencies

~1.3–2MB
~39K SLoC