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.
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.