Skip to content
SandroGrzicic edited this page Apr 17, 2013 · 17 revisions

ScalaBuff is a Scala Protocol Buffers compiler. It takes .proto files and outputs valid Scala classes that can be used by your code to receive or send protobuf messages.

Both the ScalaBuff generator and the generated Scala classes depend on Google's Java runtime for Protocol Buffers, which is provided with ScalaBuff.

If you want to utilize ScalaBuff to generate your Scala classes from .proto sources, you'll need to either download the sources from this repository or download the packaged JAR for your Scala version from the Sonatype OSS repository. If you download the sources, you can easily run it from SBT. OS-specific launcher scripts will be available soon.

If you just want to use ScalaBuff-generated classes in your SBT-managed project, here's the dependency to add (located on the Sonatype OSS repository): "net.sandrogrzicic" %% "scalabuff-runtime" % "[desired_version]"

A Google Groups mailing list is available, named "ScalaBuff".

Table of contents

Clone this wiki locally