Protobuild.toml 1.4 KB

123456789101112131415161718192021222324252627282930
  1. version = "unstable"
  2. generator = "gogo"
  3. plugins = ["grpc"]
  4. # Control protoc include paths. Below are usually some good defaults, but feel
  5. # free to try it without them if it works for your project.
  6. [includes]
  7. # Paths that should be treated as include roots in relation to the vendor
  8. # directory. These will be calculated with the vendor directory nearest the
  9. # target package.
  10. #packages = ["github.com/gogo/protobuf", "github.com/gogo/googleapis"]
  11. # Paths that will be added untouched to the end of the includes. We use
  12. # `/usr/local/include` to pickup the common install location of protobuf.
  13. # This is the default.
  14. #after = ["/usr/local/include", "/usr/include"]
  15. vendored = ["github.com/gogo/protobuf", "github.com/gogo/googleapis"]
  16. # This section maps protobuf imports to Go packages. These will become
  17. # `-M` directives in the call to the go protobuf generator.
  18. [packages]
  19. "gogoproto/gogo.proto" = "github.com/gogo/protobuf/gogoproto"
  20. "google/protobuf/any.proto" = "github.com/gogo/protobuf/types"
  21. "google/protobuf/empty.proto" = "github.com/gogo/protobuf/types"
  22. "google/protobuf/descriptor.proto" = "github.com/gogo/protobuf/protoc-gen-gogo/descriptor"
  23. "google/protobuf/field_mask.proto" = "github.com/gogo/protobuf/types"
  24. "google/protobuf/timestamp.proto" = "github.com/gogo/protobuf/types"
  25. "google/protobuf/duration.proto" = "github.com/gogo/protobuf/types"
  26. "google/rpc/status.proto" = "github.com/gogo/googleapis/google/rpc"