All Projects → dcarp → protobuf-d

dcarp / protobuf-d

Licence: BSL-1.0 license
Protocol Buffers Compiler Plugin and Support Library for D

Programming Languages

d
599 projects
shell
77523 projects

Projects that are alternatives of or similar to protobuf-d

Protobuf
Protocol Buffers - Google's data interchange format
Stars: ✭ 52,305 (+163353.13%)
Mutual labels:  serialization, protobuf, protocol-buffers, protoc, protobuf-runtime
Protobuf
A pure Elixir implementation of Google Protobuf
Stars: ✭ 442 (+1281.25%)
Mutual labels:  serialization, protobuf, protocol-buffers, protoc
elm-protobuf
protobuf plugin for elm
Stars: ✭ 93 (+190.63%)
Mutual labels:  serialization, protobuf, protocol-buffers
javascript-serialization-benchmark
Comparison and benchmark of JavaScript serialization libraries (Protocol Buffer, Avro, BSON, etc.)
Stars: ✭ 54 (+68.75%)
Mutual labels:  serialization, protobuf, protocol-buffers
ocaml-pb-plugin
A protoc plugin for generating OCaml code from protobuf (.proto) files.
Stars: ✭ 18 (-43.75%)
Mutual labels:  serialization, protobuf, protocol-buffers
Protoc Jar Maven Plugin
Protocol Buffers protobuf maven plugin - based on protoc-jar multi-platform executable protoc JAR
Stars: ✭ 177 (+453.13%)
Mutual labels:  protobuf, protocol-buffers, protoc
Protobuf Dynamic
Protocol Buffers Dynamic Schema - create protobuf schemas programmatically
Stars: ✭ 186 (+481.25%)
Mutual labels:  protobuf, protocol-buffers, protoc
kafka-protobuf-serde
Serializer/Deserializer for Kafka to serialize/deserialize Protocol Buffers messages
Stars: ✭ 52 (+62.5%)
Mutual labels:  serialization, protobuf, protocol-buffers
Protoc Jar
Protocol Buffers protobuf compiler - multi-platform executable protoc JAR and API
Stars: ✭ 103 (+221.88%)
Mutual labels:  protobuf, protocol-buffers, protoc
Protobuf Nim
Protobuf implementation in pure Nim that leverages the power of the macro system to not depend on any external tools
Stars: ✭ 90 (+181.25%)
Mutual labels:  serialization, protobuf, protocol-buffers
makego
Makefile setup for our Golang projects.
Stars: ✭ 65 (+103.13%)
Mutual labels:  protobuf, protocol-buffers, protoc
gosproto
基于云风的sproto二进制标准上的描述文件及代码生成工具
Stars: ✭ 52 (+62.5%)
Mutual labels:  protobuf, protoc, protobuf3
Pb And K
Kotlin Code Generator and Runtime for Protocol Buffers
Stars: ✭ 137 (+328.13%)
Mutual labels:  protobuf, protocol-buffers, protoc
Rules protobuf
Bazel rules for building protocol buffers and gRPC services (java, c++, go, ...)
Stars: ✭ 206 (+543.75%)
Mutual labels:  protobuf, protocol-buffers, protoc
Protodot
transforming your .proto files into .dot files (and .svg, .png if you happen to have graphviz installed)
Stars: ✭ 107 (+234.38%)
Mutual labels:  protobuf, protocol-buffers, protoc
nimpb
Protocol Buffers for Nim
Stars: ✭ 29 (-9.37%)
Mutual labels:  serialization, protobuf, protocol-buffers
Prototool
Your Swiss Army Knife for Protocol Buffers
Stars: ✭ 4,932 (+15312.5%)
Mutual labels:  protobuf, protocol-buffers, protoc
Protobuf Swift
Google ProtocolBuffers for Apple Swift
Stars: ✭ 925 (+2790.63%)
Mutual labels:  protobuf, protocol-buffers, protoc
pronto
Clojure support for protocol buffers
Stars: ✭ 66 (+106.25%)
Mutual labels:  protobuf, protocol-buffers, protobuf3
Protobuf Java Format
Provide serialization and de-serialization of different formats based on Google’s protobuf Message. Enables overriding the default (byte array) output to text based formats such as XML, JSON and HTML.
Stars: ✭ 134 (+318.75%)
Mutual labels:  serialization, protobuf, protocol-buffers

Build Status

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.

⚠️ 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:

  • protoc version 3.0 or newer
  • Protobuf well known types .proto files installed or accessible for protoc
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].