Skip to content

Use the derive feature of serde in rand_core #387

@KodrAus

Description

@KodrAus

I was just having a quick poke through rand_core for #386 and it looks like we could simplify current the serde + serde_derive feature. Instead of creating a new feature called serde1, we could just use the derive feature that serde provides. Was there any other rationale for serde1 besides letting us pull in serde_derive too in the same feature?

It would look something like:

[dependencies.serde]
features = ["derive"]
optional = true

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