|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| benchmarks/ | H | 03-May-2022 | - | 14,105 | 12,777 |
| cmake/ | H | 03-May-2022 | - | 1,928 | 1,667 |
| conformance/ | H | 03-May-2022 | - | 16,330 | 12,522 |
| editors/ | H | 03-May-2022 | - | 334 | 188 |
| examples/ | H | 03-May-2022 | - | 1,373 | 1,047 |
| m4/ | H | 08-Jun-2021 | - | 11,013 | 9,804 |
| objectivec/ | H | 08-Jun-2021 | - | 67 | 61 |
| src/ | H | 03-May-2022 | - | 296,167 | 220,456 |
| third_party/ | H | 08-Jun-2021 | - | 282,720 | 200,071 |
| util/python/ | H | 08-Jun-2021 | - | 21 | 19 |
| BUILD | H A D | 08-Jun-2021 | 43.5 KiB | 1,271 | 1,170 |
| LICENSE | H A D | 08-Jun-2021 | 1.7 KiB | 33 | 28 |
| Makefile.am | H A D | 08-Jun-2021 | 106.4 KiB | 1,454 | 1,419 |
| Makefile.in | H A D | 03-May-2022 | 135.2 KiB | 2,375 | 2,244 |
| README.md | H A D | 08-Jun-2021 | 3.9 KiB | 86 | 61 |
| WORKSPACE | H A D | 08-Jun-2021 | 2.5 KiB | 99 | 82 |
| aclocal.m4 | H A D | 08-Jun-2021 | 44.9 KiB | 1,241 | 1,129 |
| ar-lib | H A D | 08-Jun-2021 | 5.7 KiB | 272 | 211 |
| autogen.sh | H A D | 08-Jun-2021 | 1.2 KiB | 45 | 24 |
| build_files_updated_unittest.sh | H A D | 08-Jun-2021 | 1.7 KiB | 63 | 39 |
| cc_proto_blacklist_test.bzl | H A D | 08-Jun-2021 | 999 | 39 | 30 |
| compile | H A D | 08-Jun-2021 | 7.2 KiB | 349 | 259 |
| compiler_config_setting.bzl | H A D | 08-Jun-2021 | 964 | 24 | 22 |
| config.guess | H A D | 08-Jun-2021 | 43.2 KiB | 1,481 | 1,288 |
| config.h.in | H A D | 08-Jun-2021 | 3.8 KiB | 155 | 109 |
| config.sub | H A D | 08-Jun-2021 | 35.3 KiB | 1,802 | 1,661 |
| configure | H A D | 08-Jun-2021 | 710.7 KiB | 23,518 | 19,596 |
| configure.ac | H A D | 08-Jun-2021 | 7.8 KiB | 248 | 213 |
| depcomp | H A D | 08-Jun-2021 | 23 KiB | 792 | 502 |
| generate_descriptor_proto.sh | H A D | 08-Jun-2021 | 3.1 KiB | 116 | 89 |
| install-sh | H A D | 08-Jun-2021 | 15 KiB | 542 | 352 |
| internal.bzl | H A D | 08-Jun-2021 | 1 KiB | 30 | 25 |
| ltmain.sh | H A D | 08-Jun-2021 | 319.6 KiB | 11,252 | 8,044 |
| missing | H A D | 08-Jun-2021 | 6.7 KiB | 216 | 143 |
| protobuf-lite.pc.in | H A D | 08-Jun-2021 | 281 | 12 | 10 |
| protobuf.bzl | H A D | 08-Jun-2021 | 17.3 KiB | 517 | 451 |
| protobuf.pc.in | H A D | 08-Jun-2021 | 303 | 14 | 11 |
| protobuf_deps.bzl | H A D | 08-Jun-2021 | 3.4 KiB | 74 | 63 |
| test-driver | H A D | 08-Jun-2021 | 4.6 KiB | 151 | 88 |
| update_file_lists.sh | H A D | 08-Jun-2021 | 6.4 KiB | 197 | 163 |
README.md
1Protocol Buffers - Google's data interchange format
2===================================================
3
4Copyright 2008 Google Inc.
5
6https://developers.google.com/protocol-buffers/
7
8Overview
9--------
10
11Protocol Buffers (a.k.a., protobuf) are Google's language-neutral,
12platform-neutral, extensible mechanism for serializing structured data. You
13can find [protobuf's documentation on the Google Developers site](https://developers.google.com/protocol-buffers/).
14
15This README file contains protobuf installation instructions. To install
16protobuf, you need to install the protocol compiler (used to compile .proto
17files) and the protobuf runtime for your chosen programming language.
18
19Protocol Compiler Installation
20------------------------------
21
22The protocol compiler is written in C++. If you are using C++, please follow
23the [C++ Installation Instructions](src/README.md) to install protoc along
24with the C++ runtime.
25
26For non-C++ users, the simplest way to install the protocol compiler is to
27download a pre-built binary from our release page:
28
29 [https://github.com/protocolbuffers/protobuf/releases](https://github.com/protocolbuffers/protobuf/releases)
30
31In the downloads section of each release, you can find pre-built binaries in
32zip packages: protoc-$VERSION-$PLATFORM.zip. It contains the protoc binary
33as well as a set of standard .proto files distributed along with protobuf.
34
35If you are looking for an old version that is not available in the release
36page, check out the maven repo here:
37
38 [https://repo1.maven.org/maven2/com/google/protobuf/protoc/](https://repo1.maven.org/maven2/com/google/protobuf/protoc/)
39
40These pre-built binaries are only provided for released versions. If you want
41to use the github master version at HEAD, or you need to modify protobuf code,
42or you are using C++, it's recommended to build your own protoc binary from
43source.
44
45If you would like to build protoc binary from source, see the [C++ Installation
46Instructions](src/README.md).
47
48Protobuf Runtime Installation
49-----------------------------
50
51Protobuf supports several different programming languages. For each programming
52language, you can find instructions in the corresponding source directory about
53how to install protobuf runtime for that specific language:
54
55| Language | Source |
56|--------------------------------------|-------------------------------------------------------------|
57| C++ (include C++ runtime and protoc) | [src](src) |
58| Java | [java](java) |
59| Python | [python](python) |
60| Objective-C | [objectivec](objectivec) |
61| C# | [csharp](csharp) |
62| JavaScript | [js](js) |
63| Ruby | [ruby](ruby) |
64| Go | [protocolbuffers/protobuf-go](https://github.com/protocolbuffers/protobuf-go)|
65| PHP | [php](php) |
66| Dart | [dart-lang/protobuf](https://github.com/dart-lang/protobuf) |
67
68Quick Start
69-----------
70
71The best way to learn how to use protobuf is to follow the tutorials in our
72developer guide:
73
74https://developers.google.com/protocol-buffers/docs/tutorials
75
76If you want to learn from code examples, take a look at the examples in the
77[examples](examples) directory.
78
79Documentation
80-------------
81
82The complete documentation for Protocol Buffers is available via the
83web at:
84
85https://developers.google.com/protocol-buffers/
86