Add well-known type support (#1081) - Add generated Dart for the well-known protos to the package. - Special case `google/protobuf/...` imports in the plugin to generate imports to the libraries in the protobuf package. Note: `protoc` already special cases these imports, you don't have to specify paths to them with `-I...`. With this change you also don't have to manually compile them to Dart classes. Fixes #1073. Fixes #817. Fixes #780. Fixes #483.
Protocol Buffers (protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.
This repository is home to packages related to protobuf support for Dart.
| Package | Description | Published Version |
|---|---|---|
| protobuf | Runtime library for protocol buffers support. | |
| protoc_plugin | A protobuf protoc compiler plugin used to generate Dart code. | |
| benchmarks | Benchmarks for various protobuf functions. |
For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.