Rust for native business logic, Flutter for flexible and beautiful GUI
MIT License
1.82k
stars
64
forks
source link
[Issue with rinf CLI] Every time `rinf message` adds `package` and `systax` to the beginning of the .proto file, even if `package` is already appended #383
In my pet project, I already used protobuf messages and decided to try rinf. However, each time after running rinf message, rinf adds the package and syntax at the beginning of the .proto file, even if the package is already specified. So I have to manually delete the package and syntax from the file and only then run rinf message. Otherwise, I get a compilation error and a .proto file like this:
Hi,
In my pet project, I already used protobuf messages and decided to try rinf. However, each time after running
rinf message
, rinf adds the package and syntax at the beginning of the .proto file, even if the package is already specified. So I have to manually delete the package and syntax from the file and only then runrinf message
. Otherwise, I get a compilation error and a .proto file like this:Is there a flag that allows disabling the addition of
syntax
andpackage
at the beginning of the file?cargo rinf
version: v6.12.1