def make_link(rel, type, href):
    """Create an OPDS (Atom) link as dict

    :param rel: Link relation (LinkRel.Acquisition, LinkRel.Alternate...).
    :type rel: opds.LinkRel.
    :param type: Content type of the link destination.
    :type state: opds.ContentType.
    :param href: Link destination url.
    :type href: str.
    :returns: dict.
    """
    return {'rel': rel, 'type': type, 'href': href}