"""
@file
@defgroup rtctk_reusableComponents_telRepub_lib Telemetry Republisher Library
@ingroup rtctk_reusableComponents_telRepub

@brief Telemetry Republisher business logic library.

@copyright
  SPDX-FileCopyrightText: 2024-2025 European Southern Observatory (ESO) @n
  SPDX-License-Identifier: LGPL-3.0-only
"""

from wtools.module import declare_cshlib


declare_cshlib(
    name="reusableComponents.telRepub.lib",
    target="rtctkTelemetryRepublisher",
    use=[
        "componentFramework.rtcComponent",
        "componentFramework.services.bufferManager",
        "componentFramework.services.dataPath.dds",
        "fmt",
        "numapp",
        "llnetio",
        "tbb",
        "BOOST",
    ],
    ut_attrs=dict(
        use=lambda pkgs, _: pkgs
        + [
            "gtest",
            "gmock",
            "componentFramework.services.testSupport.metrics",
        ]
    ),
)
