You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
</span></span><spanstyle=display:flex><span><spanstyle=color:#000>print</span><spanstyle=color:#000;font-weight:700>(</span><spanstyle=color:#4e9a06>'Enter a phone number (or leave blank to finish): '</span><spanstyle=color:#000;font-weight:700>);</span>
Copy file name to clipboardExpand all lines: index.xml
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -86,13 +86,15 @@ Bazel The process of building a Rust library for a Protobuf definition is simila
86
86
Use the language-agnostic proto_library rule:
87
87
proto_library( name = &#34;person_proto&#34;, srcs = [&#34;person.proto&#34;], ) Create a Rust library:
88
88
load(&#34;//third_party/protobuf/rust:defs.bzl&#34;, &#34;rust_proto_library&#34;) proto_library( name = &#34;person_proto&#34;, srcs = [&#34;person.proto&#34;], ) rust_proto_library( name = &#34;person_rust_proto&#34;, deps = [&#34;:person_proto&#34;], ) Use the library by including it in a Rust binary:</description></item><item><title>Rust Proto Design Decisions</title><link>https://protobuf.dev/reference/rust/rust-design-decisions/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/rust/rust-design-decisions/</guid><description>As with any library, Rust Protobuf is designed considering the needs of both Google&rsquo;s first-party usage of Rust as well that of external users. Choosing a path in that design space means that some choices made will not be optimal for some users in some cases, even if it is the right choice for the implementation overall.
89
-
This page covers some of the larger design decisions that the Rust Protobuf implementation makes and the considerations which led to those decisions.</description></item><item><title>Protocol Buffers Edition 2023 Language Specification</title><link>https://protobuf.dev/reference/protobuf/edition-2023-spec/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/protobuf/edition-2023-spec/</guid><description>The syntax is specified using Extended Backus-Naur Form (EBNF):
90
-
| alternation () grouping [] option (zero or one time) {} repetition (any number of times) Lexical Elements Letters and Digits letter = &#34;A&#34; ... &#34;Z&#34; | &#34;a&#34; ... &#34;z&#34; capitalLetter = &#34;A&#34; ... &#34;Z&#34; decimalDigit = &#34;0&#34; ... &#34;9&#34; octalDigit = &#34;0&#34; ... &#34;7&#34; hexDigit = &#34;0&#34; ... &#34;9&#34; | &#34;A&#34; ... &#34;F&#34; | &#34;a&#34; ... &#34;f&#34; Identifiers ident = letter { letter | decimalDigit | &#34;_&#34; } fullIdent = ident { &#34;.</description></item><item><title>Protocol Buffers Language Specification (Proto2 Syntax)</title><link>https://protobuf.dev/reference/protobuf/proto2-spec/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/protobuf/proto2-spec/</guid><description>The syntax is specified using Extended Backus-Naur Form (EBNF):
91
-
| alternation () grouping [] option (zero or one time) {} repetition (any number of times) For more information about using proto2, see the language guide.
92
-
Lexical Elements Letters and Digits letter = &#34;A&#34; ... &#34;Z&#34; | &#34;a&#34; ... &#34;z&#34; capitalLetter = &#34;A&#34; ... &#34;Z&#34; decimalDigit = &#34;0&#34; ... &#34;9&#34; octalDigit = &#34;0&#34; ... &#34;7&#34; hexDigit = &#34;0&#34; ... &#34;9&#34; | &#34;A&#34; .</description></item><item><title>Protocol Buffers Edition 2024 Language Specification</title><link>https://protobuf.dev/reference/protobuf/edition-2024-spec/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/protobuf/edition-2024-spec/</guid><description>The syntax is specified using Extended Backus-Naur Form (EBNF):
93
-
| alternation () grouping [] option (zero or one time) {} repetition (any number of times) Lexical Elements Letters and Digits letter = &#34;A&#34; ... &#34;Z&#34; | &#34;a&#34; ... &#34;z&#34; capitalLetter = &#34;A&#34; ... &#34;Z&#34; decimalDigit = &#34;0&#34; ... &#34;9&#34; octalDigit = &#34;0&#34; ... &#34;7&#34; hexDigit = &#34;0&#34; ... &#34;9&#34; | &#34;A&#34; ... &#34;F&#34; | &#34;a&#34; ... &#34;f&#34; Identifiers ident = letter { letter | decimalDigit | &#34;_&#34; } fullIdent = ident { &#34;.</description></item><item><title>Protocol Buffers Language Specification (Proto3)</title><link>https://protobuf.dev/reference/protobuf/proto3-spec/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/protobuf/proto3-spec/</guid><description>The syntax is specified using Extended Backus-Naur Form (EBNF):
94
-
| alternation () grouping [] option (zero or one time) {} repetition (any number of times) For more information about using proto3, see the language guide.
95
-
Lexical Elements Letters and Digits letter = &#34;A&#34; ... &#34;Z&#34; | &#34;a&#34; ... &#34;z&#34; decimalDigit = &#34;0&#34; ... &#34;9&#34; octalDigit = &#34;0&#34; ... &#34;7&#34; hexDigit = &#34;0&#34; ... &#34;9&#34; | &#34;A&#34; ... &#34;F&#34; | &#34;a&#34; .</description></item><item><title>Text Format Language Specification</title><link>https://protobuf.dev/reference/protobuf/textformat-spec/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/protobuf/textformat-spec/</guid><description>This format is distinct from the format of text within a .proto schema, for example. This document contains reference documentation using the syntax specified in ISO/IEC 14977 EBNF.
89
+
This page covers some of the larger design decisions that the Rust Protobuf implementation makes and the considerations which led to those decisions.</description></item><item><title>Protocol Buffers Edition 2023 Language Specification</title><link>https://protobuf.dev/reference/protobuf/edition-2023-spec/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/protobuf/edition-2023-spec/</guid><description>Note: This language specification is known to be incomplete, particularly regarding whitespace handling and other lexical nuances. The C++ protoc compiler implementation serves as the definitive source of truth. This document is a best-effort attempt to describe the behavior of the handwritten parser, which is not based on a formal grammar.
90
+
The syntax is specified using Extended Backus-Naur Form (EBNF):
91
+
| alternation () grouping [] option (zero or one time) {} repetition (any number of times) Lexical Elements Letters and Digits letter = &#34;A&#34; .</description></item><item><title>Protocol Buffers Language Specification (Proto2 Syntax)</title><link>https://protobuf.dev/reference/protobuf/proto2-spec/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/protobuf/proto2-spec/</guid><description>Note: This language specification is known to be incomplete, particularly regarding whitespace handling and other lexical nuances. The C++ protoc compiler implementation serves as the definitive source of truth. This document is a best-effort attempt to describe the behavior of the handwritten parser, which is not based on a formal grammar.
92
+
The syntax is specified using Extended Backus-Naur Form (EBNF):
93
+
| alternation () grouping [] option (zero or one time) {} repetition (any number of times) For more information about using proto2, see the language guide.</description></item><item><title>Protocol Buffers Edition 2024 Language Specification</title><link>https://protobuf.dev/reference/protobuf/edition-2024-spec/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/protobuf/edition-2024-spec/</guid><description>Note: This language specification is known to be incomplete, particularly regarding whitespace handling and other lexical nuances. The C++ protoc compiler implementation serves as the definitive source of truth. This document is a best-effort attempt to describe the behavior of the handwritten parser, which is not based on a formal grammar.
94
+
The syntax is specified using Extended Backus-Naur Form (EBNF):
95
+
| alternation () grouping [] option (zero or one time) {} repetition (any number of times) Lexical Elements Letters and Digits letter = &#34;A&#34; .</description></item><item><title>Protocol Buffers Language Specification (Proto3)</title><link>https://protobuf.dev/reference/protobuf/proto3-spec/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/protobuf/proto3-spec/</guid><description>Note: This language specification is known to be incomplete, particularly regarding whitespace handling and other lexical nuances. The C++ protoc compiler implementation serves as the definitive source of truth. This document is a best-effort attempt to describe the behavior of the handwritten parser, which is not based on a formal grammar.
96
+
The syntax is specified using Extended Backus-Naur Form (EBNF):
97
+
| alternation () grouping [] option (zero or one time) {} repetition (any number of times) For more information about using proto3, see the language guide.</description></item><item><title>Text Format Language Specification</title><link>https://protobuf.dev/reference/protobuf/textformat-spec/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/protobuf/textformat-spec/</guid><description>This format is distinct from the format of text within a .proto schema, for example. This document contains reference documentation using the syntax specified in ISO/IEC 14977 EBNF.
96
98
Note This is a draft spec originally reverse-engineered from the C++ text format implementation It has evolved and may change further based on discussion and review. While an effort has been made to keep text formats consistent across supported languages, incompatibilities are likely to exist.</description></item><item><title>Protocol Buffer MIME Types</title><link>https://protobuf.dev/reference/protobuf/mime-types/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/protobuf/mime-types/</guid><description>All Protobuf documents should have the MIME type application and the subtype protobuf, with the suffix +json for JSON encodings according to the standard, followed by the following parameters:
97
99
encoding should be set only to binary, or json, denoting those respective formats. With subtype protobuf+json, encoding has the default json and cannot be set to binary. With subtype protobuf (without +json), encoding has the default binary and cannot be set to json.</description></item><item><title>Protocol Buffers Well-Known Types</title><link>https://protobuf.dev/reference/protobuf/google.protobuf/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/protobuf/google.protobuf/</guid><description>Index Any (message) Api (message) BoolValue (message) BytesValue (message) DoubleValue (message) Duration (message) Empty (message) Enum (message) EnumValue (message) Field (message) Field.Cardinality (enum) Field.Kind (enum) FieldMask (message) FloatValue (message) Int32Value (message) Int64Value (message) ListValue (message) Method (message) Mixin (message) NullValue (enum) Option (message) SourceContext (message) StringValue (message) Struct (message) Syntax (enum) Timestamp (message) Type (message) UInt32Value (message) UInt64Value (message) Value (message) Well-Known Types that end in &ldquo;Value&rdquo; are wrapper messages for other types, such as BoolValue and EnumValue.</description></item><item><title>Other Languages</title><link>https://protobuf.dev/reference/other/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/other/</guid><description>While the current release includes compilers and APIs for C++, Java, Go, Ruby, C#, and Python, the compiler code is designed so that it&rsquo;s easy to add support for other languages. There are several ongoing projects to add new language implementations to Protocol Buffers, including C, Haskell, Perl, Rust, and more.
98
100
For a list of links to projects we know about, see the third-party add-ons wiki page.
0 commit comments