Skip to content

Should the Rules traits be marked UnstableSealed? #6962

@sffc

Description

@sffc

I'm unconvinced that these traits definitely have the shape that we will always want. We already found one gap, #6959.

The point of these traits is to make it easier to implement these calendars in userland. Crucially, clients can already do this by implementing the UnstableSealed trait Calendar.

We're not confident about the shape of Calendar, so why should we be any more confident about the shape of Rules?

If we mark these traits as UnstableSealed, it still allows users to implement them in userland, it's just that they commit to the unstable contracts that we already require in other contexts like try_new_unstable.

@robertbastian @Manishearth

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-calendarComponent: CalendarsdiscussDiscuss at a future ICU4X-SC meeting

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions