Skip to content

Commit

Permalink
pb: remove descriptors and type registration
Browse files Browse the repository at this point in the history
Descriptors are used to dynamically read protobuf information that has
not been encoded into the types.

Similarly, the type registration ends up forcing every protobuf type to
be reachable. This ends up significantly bloating the binary sizes.
The type registrations are used to deserialize any messages, which
Storj does not use.

Updates storj/uplink#169

Change-Id: I705e3a481b2623d164e9f5c237bf88ef855a386c
  • Loading branch information
egonelbre committed Aug 12, 2024
1 parent 35178e2 commit 26b5378
Show file tree
Hide file tree
Showing 24 changed files with 236 additions and 2,215 deletions.
2 changes: 1 addition & 1 deletion grant/internal/pb/encryption.pico.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion grant/internal/pb/encryption_access.pico.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion grant/internal/pb/scope.pico.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 2 additions & 38 deletions pb/certificate.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

99 changes: 8 additions & 91 deletions pb/contact.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 2 additions & 35 deletions pb/debug.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 26b5378

Please sign in to comment.