try:
    import msgspec  # noqa: F401  # pyright: ignore[reportUnusedImport]
except ImportError:  # pragma: no cover
    print(  # noqa: WPS421
        'Looks like `msgspec` is not installed, '
        "consider using `pip install 'django-modern-rest[msgspec]'`",
    )
    raise

from dmr.plugins.msgspec.json import MsgspecJsonParser as MsgspecJsonParser
from dmr.plugins.msgspec.json import MsgspecJsonRenderer as MsgspecJsonRenderer
from dmr.plugins.msgspec.msgpack import MsgpackParser as MsgpackParser
from dmr.plugins.msgspec.msgpack import MsgpackRenderer as MsgpackRenderer
from dmr.plugins.msgspec.serializer import (
    MsgspecSerializer as MsgspecSerializer,
)
