"""
@file
@defgroup rtctk_componentFramework_services_dataRecording Data Recording
@ingroup rtctk_componentFramework_services

@brief Framework for recording data in column format.

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

from wtools.module import declare_cshlib

declare_cshlib(
    target="rtctkDataRecording",
    use=[
        "componentFramework.services.common",
        "componentFramework.services.oldb",
        "componentFramework.services.runtimeRepo",
        "componentFramework.services.events",
        "componentFramework.services.metrics",
        "cfitsio",
        "ipcq",
        "taiclock",
    ],
    ut_attrs=dict(
        use=lambda pkgs, _: pkgs
        + [
            "componentFramework.services.testSupport.common",
            "componentFramework.services.testSupport.runtimeRepo",
            "componentFramework.services.testSupport.oldb",
            "componentFramework.services.testSupport.metrics",
        ]
    ),
)
