Skip to content

Sync zerocopy and zerocopy-derive version numbers, have zerocopy depend on an exact version of zerocopy-derive #107

@joshlf

Description

@joshlf

This has a few advantages:

  • It helps make it clear that zerocopy-derive is just an implementation detail of zerocopy, and shouldn't be depended upon directly
  • It makes reasoning about compatibility simpler by effectively making both crates part of a single codebase. So long as the code in zerocopy is compatible with the code in zerocopy-derive in the same Git commit, then publishing them both is fine. No more need to consider compatibility between a given version of zerocopy and a range of versions of zerocopy-derive.

Note that serde does this too. Serde has a ton of experience with these sorts of issues, so all else being equal, it's a reasonable idea to do what serde does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions