Skip to content

Support borrowed deserialization with serde #25

@SzczurekYT

Description

@SzczurekYT

With serde it is possible to for have a struct like this one

struct Foo {
    bar: &str
} 

and deserialize it, where the string borrows from the bytes.
But that doesn't work with CrabNBT

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