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
  • Coverage
  • 98.18%
    54 out of 55 items documented0 out of 0 items with examples
  • Size
  • Source code size: 115.77 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.96 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 31s Average build duration of successful builds.
  • all releases: 31s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • toprinse

pipeline status Latest release coverage report documentation Phoenix2 documentation DOI

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