casey / casey/x-serialization-format

Should struct fields require index annotations

Open
#75 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Like this:

```
#[derive(X)]
struct Foo {
#[x(0)]
a: u32,
#[x(1)]
b: u32
}
```

I think it's probably unnecessary, but it could help avoid accidentally reordering struct fields.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.