Stubs

Module

stubs/wellknowntypes

The Protobuf well-known types (google/protobuf/*.proto), from Google's protobuf releases.

OfficialPublic
Compare
From
fdc2e0c7b591
stubs-publisher ·
To
3df4a0d21c9a
stubs-publisher ·
README.mdAdded
@@ -0,0 +1,16 @@
1Added: # stubs/wellknowntypes
2Added:
3Added: The Protobuf well-known types (`google/protobuf/*.proto`): `Timestamp`, `Duration`, `Any`, `Struct`, `FieldMask`, the wrapper types and the rest, as Google publishes them in protobuf 36.2.
4Added:
5Added: ## Using them
6Added:
7Added: There's nothing to add to your `buf.yaml`. The compiler comes with these files, so `import "google/protobuf/timestamp.proto";` works in any module without a dependency. This module is here to browse them: their files and documentation, which other modules' docs link to.
8Added:
9Added: ## Where they come from
10Added:
11Added: Each commit is one protobuf release: the `include/google/protobuf/**.proto` files of that release's `protoc-36.2-linux-x86_64.zip`, unchanged, with the `LICENSE` at its tag. A commit is labelled with its release (`v36.2`), and `main` is the newest release.
12Added:
13Added: - Release: https://github.com/protocolbuffers/protobuf/releases/tag/v36.2
14Added: - Reference: https://protobuf.dev/reference/protobuf/google.protobuf/
15Added: - Licence: Google's BSD 3-Clause licence, in `LICENSE`.
16Added: