https://github.com/vaci/capnproto-java-rpc rebased on top of capnproto-java master branch
compiler/src/main/cpp | ||
examples/src/main | ||
project | ||
runtime/src/main/java/org/capnproto | ||
.gitignore | ||
.travis.yml | ||
CONTRIBUTORS | ||
LICENSE | ||
Makefile | ||
README.md | ||
version.sbt |
capnproto-java: Cap'n Proto for Java
This is an experimental pure Java implementation of Cap'n Proto.
It doesn't do much yet.
getting started
You will need SBT. We recommend this version.
$ sbt compile
$ echo '(people = [(id = 123, name = "Alice", email = "alice@example.com", employment = (school = "MIT"))])' \
| capnp encode examples/src/main/schema/addressbook.capnp AddressBook \
| java -cp runtime/target/scala-2.11/classes:examples/target/scala-2.11/classes/ \
org.capnproto.examples.AddressbookMain read
To generate IntelliJ project files, do sbt update gen-idea
.