Skip to content

The protobuf version checking is too strict #466

@Tim-Zhang

Description

@Tim-Zhang

What's you consideration about the limitation generated files compatible only with the same version of runtime?

People are used to import protobuf by writing protobuf = "2.8.0" in cargo.toml, and rust would use a version between 2.8.0 and 3.0.0, so the incompatible errors may occurred frequently.

It's inconvenient to regenerate codes for the minor/patch version updates, and the codes generated by protobuf-codegen 2.8.1 should be compatible with protobuf 2.8.0 if we follow the rust convention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions