Skip to content

sgjesse/dart-protoc-plugin

 
 

Repository files navigation

Protoc compiler Dart plugin

This application provides a plugin for protoc compiler which generates pure Dart library to deal with protobufs.

Please, do not forget that generated libraries depend on runtime support library which can be found here.

How to build and use

Note: currently the workflow is POSIX-oriented.

To build standalone protc plugin, please, run make build-plugin. That will create a file out/protoc-gen-dart which is a plugin. Now you can use it either by adding into PATH or passing directly with protoc's --plugin option. Please, remember that the plugin is pure Dart script and requires the presence of dart executable in your PATH.

Hacking

The main thing to remember is to run the tests. That is as easy as make run-tests.

Useful references

About

Dart plugin for protobuf compiler (protoc)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%