Skip to content

serialize buf for generic types#5

Merged
AdinAck merged 1 commit intomainfrom
serialize-buf-generics
Mar 7, 2026
Merged

serialize buf for generic types#5
AdinAck merged 1 commit intomainfrom
serialize-buf-generics

Conversation

@AdinAck
Copy link
Copy Markdown
Owner

@AdinAck AdinAck commented Mar 7, 2026

Now, SerializeBuf and Size are separate derive macros. The SerializeBuf macro still doesn't work on generic types, but Size does.

A new attribute macro serialize_buf can be applied to type aliases that concretely specifies a generic type, enabling the concrete type to implement SerializeBuf.

@AdinAck AdinAck force-pushed the serialize-buf-generics branch 2 times, most recently from e95f434 to 29e1afb Compare March 7, 2026 18:55
@AdinAck AdinAck force-pushed the serialize-buf-generics branch from 29e1afb to ce5fe4c Compare March 7, 2026 18:56
@AdinAck AdinAck merged commit 5f62485 into main Mar 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant