protobuf 0.6.0
D runtime library for Google Protocol Buffers
To use this package, run the following command in your project's root directory:
						Manual usage
						
						Put the following dependency into your project's dependences section:
					
D Support for Protocol Buffers
This D package implements the Protocol Buffers encoding and decoding operations for both binary and JSON formats. The support library uses the generated D code that defines the messages and enum types.
Together with this library D generation support was added to protoc. The
generated code is very simple and easy to read.
:warning: protoc-gen-d plugin generates D code for proto3 .proto
files only.
Installation
The Protocol Buffers D support library is distributed as DUB package. Use the instructions there about how to integrate it in your project.
The DUB package contains the support library and the protoc-gen-d protoc
plugin. In order to have the D code generation available (--d_out option)
protoc-gen-d needs to be specified to protoc invocation via --plugin
option. Please see the Protocol Buffers README about installing protoc on
your system.
Examples
Run following commands:
dub build :protoc-gen-d
cd examples
dub build :add_person
dub build :list_people
Prerequisites:
- protocversion 3.0 or newer
- Protobuf well known types .protofiles installed or accessible forprotoc
- 0.6.0 released 6 years ago
- dcarp/protobuf-d
- https://github.com/dcarp/protobuf-d/blob/master/LICENSE.md
- Authors:
- Sub packages:
- protobuf:protoc-gen-d
- Dependencies:
- none
- Versions:
- 
						
 Show all 20 versions0.6.2 2020-Jun-02 0.6.1 2020-Jun-01 0.6.0 2019-Oct-07 0.5.5 2019-Sep-08 0.5.4 2019-Jun-17 
- Download Stats:
- 
						- 
								5 downloads today 
- 
								24 downloads this week 
- 
								218 downloads this month 
- 
								11174 downloads total 
 
- 
								
- Score:
- 2.5
- Short URL:
- protobuf.dub.pm