trussed-dev / ctap-types

3 stars 9 forks source link

Make ctap2 non-exhaustive #42

Closed robin-nitrokey closed 4 months ago

robin-nitrokey commented 4 months ago

This PR makes most ctap2 types non-exhaustive and adds Default implementations and builders where necessary. This makes it easier to extend the types in the future if the specification is updated or additional extensions are implemented.