An open-source library for implementing a simple DoIP server, built using the doip-sockets, doip-definitions, and doip-codec crates. This library provides an asynchronous and modular framework for handling DoIP requests and responses in compliance with ISO 13400 standards.
- Seamless Integration: Leverages
doip-socketsfor networking,doip-definitionsfor protocol-specific types, anddoip-codecfor message encoding/decoding. - Asynchronous Design: Built on Tokio for efficient, non-blocking operations.
- Configurable Handlers: Supports custom logic for handling various DoIP services.
- Extensible and Modular: Easily extend the server with additional functionality or integrate with larger diagnostic systems.
- Error Handling: Provides robust error reporting for socket operations and DoIP protocol violations.
- Rust programming language (latest stable version). Install Rust from rust-lang.org.
Add the library as a dependency in your Cargo.toml file:
[dependencies]
doip-server = "0.1.0"Comprehensive documentation is available here (link to hosted docs).
Clone the repository and build the project using Cargo:
git clone https://github.com/samp-reston/doip-server.git
cd doip-server
cargo buildRun unit tests to ensure functionality:
cargo testThis project is licensed under the MIT License. See the LICENSE file for details.
- Based on the ISO 13400 DoIP specification.
- Built with the Rust programming language.
- Relies on
doip-sockets,doip-definitions, anddoip-codeccrates. - Thanks to the Tokio project for enabling high-performance asynchronous networking.
For support, questions, or feature requests, please open an issue on the GitHub repository.