"""
@file
@defgroup rtctk_reusableComponents_telSub_lib Telemetry Subscriber Library
@ingroup rtctk_reusableComponents_telSub

@brief Telemetry Subscriber library and related components.

Refer to the @ref telSubPage for an overview.

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

from wtools.module import declare_cshlib

declare_cshlib(
    target="rtctkTelemetrySubscriber",
    use=[
        "fmt",
        "BOOST",
        "ipcq",
        "numapp",
        "taiclock",
        "componentFramework.rtcComponent",
        "componentFramework.services.dataPath.dds",
    ],
    ut_attrs=dict(
        use=lambda pkgs, _: pkgs
        + [
            "gtest",
            "gmock",
            "componentFramework.services.testSupport.metrics",
        ]
    ),
)
