Skip to content

Stabilize Rules traits #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

Labels

C-calendarComponent: Calendars

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions