google / google/zerocopy

Unify attribute syntax

Open
#2,992 0 comments 0 reactions 0 assignees View on GitHub
blocking-next-release compatibility-breaking
Dominant language
Rust
Stars
2.6k
Forks
179
Avg merge
1d 19h
Merged PRs (30d)
29

Description

Currently, we support:
- `#[zerocopy(crate = "foo")]`
- `#[zerocopy(on_error = "skip"/"fail")]` (in #2982)
- Eventually, `#[zerocopy(validator = ...)]` (syntax TBD)

We should re-evaluate our syntax choices and make sure they're to our liking during the next breaking release.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.