#dis #protocols #entity #pdu #enums #standard

dis-rust

A rust implementation of the DIS simulation protocol

15 releases

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

#63 in Simulation

42 downloads per month

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

~3MB
~59K SLoC