Skip to content

Use slice-dst until custom DSTs land #9

@MattesWhite

Description

@MattesWhite

I started reading about DSTs and stumbled upon the slice-dst crate. With it it should be possible to implement Iri (and IriRef) as DSTs right now. The caveat is that we can't use a Vec for the Buf types but I wrote an example that demonstrates how a mutable buffer can be implemented with slice-dst (cf. CAD97/pointer-utils#70). Actually, most changes would be to re-write the replace function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions