rustyphoenixclockmockbackend 1.7.0

This is the Rust version of https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/PhoenixClock project. This project aims to ease the use of clock in complex environments, especially distributed environments where latencies measurement has to be precise and reproductible when running unit tests. **PhoenixClock** provide **PGenericClock**, a template classe which takes two arguments : - The main clock backend (could be **clock**, **PClockNs** for nanoseconds, etc) - A mock of a clock, **PClockMock**, which can play, register and replay a sequence of clock calls These clocks are activated with a mode `PClockMode::PClockMode` which can be : - `PClockMode::NO_MOCK` : for a normal usage - `PClockMode::MOCK` : when the mock the desired clock is played - `PClockMode::MOCK_RECORD` : when the real clock backend is used but the clock mock is recording (could be usefull for debugging or to desing new unit tests quickly)
Documentation
{
    "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
    "@type": "SoftwareSourceCode",
    "license": "https://spdx.org/licenses/CECILL-C",
    "codeRepository": "git+https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/clock/RustyPhoenixClockMockBackend.git",
    "contIntegration": "https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/clock/RustyPhoenixClockMockBackend/-/pipelines",
    "dateCreated": "2025-11-27",
    "datePublished": "2026-03-20",
    "dateModified": "2026-03-20",
    "downloadUrl": "https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/clock/RustyPhoenixClockMockBackend/-/archive/1.7.0/RustyPhoenixClockMockBackend-1.7.0.tar.gz",
    "issueTracker": "https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/clock/RustyPhoenixClockMockBackend/-/issues",
    "name": "RustyPhoenixClockMockBackend",
    "version": "1.7.0",
    "softwareVersion": "1.7.0",
    "readme": "https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/clock/RustyPhoenixClockMockBackend/-/blob/1.7.0/README.md",
    "description": "CI/CD Toolkit for Rust projects",
    "keywords": [
        "Phoenix2",
        "Rust",
        "Clock",
        "Mock"
    ],
    "relatedLink": [
        "https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/PHOENIX2"
    ],
    "author": [
        {
            "@type": "Person",
            "givenName": "Pierre",
            "familyName": "Aubert",
            "affiliation": {
                "@type": "Organization",
                "name": "LAPP, Univ. Savoie Mont-Blanc, CNRS"
            }
        },
                {
            "@type": "Person",
            "givenName": "Thibaut",
            "familyName": "Oprinsen",
            "affiliation": {
                "@type": "Organization",
                "name": "LAPP, Univ. Savoie Mont-Blanc, CNRS"
            }
        }
    ],
    "contributor": [
        {
            "@type": "Person",
            "givenName": "Vincent",
            "familyName": "Pollet",
            "affiliation": {
                "@type": "Organization",
                "name": "LAPP, Univ. Savoie Mont-Blanc, CNRS"
            }
        }
    ],
    "maintainer": {
        "@type": "Person",
        "givenName": "Pierre",
        "familyName": "Aubert",
        "affiliation": {
            "@type": "Organization",
            "name": "LAPP, Univ. Savoie Mont-Blanc, CNRS"
        }
    }
}