icu4x icon indicating copy to clipboard operation
icu4x copied to clipboard

Implement standard traits for `Yoke`

Open uzytkownik opened this issue 3 months ago • 3 comments

It would be nice if Yoke implemented standard traits (Display, Debug, PartialEq...). I imagine all but debug would be straight forward to the underlying cow data.

uzytkownik avatar Oct 10 '25 10:10 uzytkownik

Yes, this would be nice to have. I've been a bit wary of this since the impl bounds are somewhat tricky, but it's okay to do for most traits.

Manishearth avatar Oct 13 '25 22:10 Manishearth

can you assign me this @Manishearth

tanishqshrivas avatar Oct 27 '25 14:10 tanishqshrivas

Note that we cannot use custom derives for this, they should be manual impls that forward to the contained type.

Manishearth avatar Oct 27 '25 14:10 Manishearth

Hi @Manishearth,

I noticed there hasn’t been any activity on this issue since October. Is it still available to be picked up?

If so, I would like to work on it. I’ve noted your comment about using manual implementations rather than custom derives and will ensure the PR follows that approach.

AnveshSrivastava avatar Dec 17 '25 15:12 AnveshSrivastava

Yes, you can pick it up if you'd like. We do not assign issues not in a release milestone.

Manishearth avatar Dec 17 '25 17:12 Manishearth