Skip to content

Usage of TypeId to store type "references". #126

Closed
@SirHall

Description

@SirHall

TypeID id's are not stable, as it is still not reliably collision resistant, and the hash generated is expected to change between Rust versions: rust#77125.
This makes it a poor candidate for serialization of user type references that is expected to survive longer-term storage.
It may be better if we want a longer-term hardened solution may be to utilize the typetag or inventory crates to allow simple serializable type references.

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