rustyphoenixsocket 1.3.0

This is the Rust version of https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/network/PhoenixSocket project. This project aims to ease the use of socket in complex environments, especially distributed environments where latencies measurement has to be precise and reproductible when running unit tests. **PhoenixSocket** provide **PGenericSocket**, a template classe which takes two arguments : - The main socket backend (could be **zmq**, **unix socket**, etc) - A mock backend, **PMockBackend**, which can play, register and replay a sequence of socket calls These sockets are activated with a mode `PSocketMode::PSocketMode` which can be : - `PSocketMode::NO_MOCK` : for a normal usage - `PSocketMode::MOCK` : when the mock the desired socket is played - `PSocketMode::MOCK_RECORD` : when the real socket backend is used but the socket mock is recording (could be usefull for debugging or to desing new unit tests quickly)
Documentation
[![pipeline status](https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/network/RustyPhoenixSocket/badges/main/pipeline.svg?ignore_skipped=true)](https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/network/RustyPhoenixSocket/-/pipelines)
[![Latest release](https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/network/RustyPhoenixSocket/-/badges/release.svg)](https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/network/RustyPhoenixSocket/-/releases)
[![coverage report](https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/network/RustyPhoenixSocket/badges/main/coverage.svg)](https://cta-lapp.pages.in2p3.fr/PHOENIX_LIBS2/network/RustyPhoenixSocket/coverage/index.html)
[![documentation](doc/images/documentation_logo.svg)](https://cta-lapp.pages.in2p3.fr/PHOENIX_LIBS2/network/RustyPhoenixSocket/)
[![Phoenix2 documentation](https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/PHOENIX2/-/raw/e9bdfd51a202d7825f38cda136c9287f9cee3c1c/doc/badge_phoenix2_documentation.svg)](https://cta-lapp.pages.in2p3.fr/PHOENIX_LIBS2/PHOENIX2/)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.18683431.svg)](https://doi.org/10.5281/zenodo.18683431)


# Code

https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/network/RustyPhoenixSocket

# Documentation

https://cta-lapp.pages.in2p3.fr/PHOENIX_LIBS2/network/RustyPhoenixSocket/index.html

# Requirements

- cargo
- rustc

# Installation for Users

```
git clone https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/network/RustyPhoenixSocket.git
cd RustyPhoenixSocket
./install.sh
```