BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

rustyphoenixsocket

v1.3.0crates.io· Rust

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)

The verdict
Maintained. Niche but maintained, actively maintained.
Live from the crates.io registry · derived rules, not AI
How it scores
MaintenanceHealthy
PopularityNiche
SecurityClean
LicenseOther
DepsZero deps
Maintenance
Last published 2 months ago.
Popularity
8 downloads / week
Security
No known advisories for this version (OSV).
License
CECILL-C
Dependencies
No runtime dependencies
Recent releases
  • 1.3.02 months ago
rustyphoenixsocket — 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) (Rust / crates.io) — verdict, alternatives & security · Modules