Skip to content

Re exporting Serde #3016

@Phosphorus-M

Description

@Phosphorus-M

Hello, I'm trying to make a re-export of Serde, but I'm not sure how to do it. If I re-export the macros, when someone uses my library the macros still require the user to have Serde installed. What I want is for the user not to have to install Serde, and for the default macro expansion to access lib::_serde from inside my library. Basically, I want this path to be internal and invisible to the user, just to provide better ergonomics.

I understand that when the derives expand, they look for serde::_private

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions