Skip to content

Ability to configure Deserializer to enable extensions when parsing #281

@Boscop

Description

@Boscop

Problem: I want #![enable(unwrap_newtypes, implicit_some)] to be the default, and don't want my users to require to write it in every RON file.

Current workaround: Inject that line before parsing. It's suboptimal because I can't use BufReader and if there's a parsing error, the reported line number will be wrong from the user's POV.

Proposed Solution: Ability to configure Deserializer to enable extensions before parsing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions