protobuf 0.0.7

Rust implementation of Google protocol buffers
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -ex

cargo build

where_am_i=$(cd `dirname $0`/..; pwd)
PATH="$where_am_i/target:$PATH"

protoc --rust_out test proto/shrug.proto
protoc --rust_out test proto/test-sanitize-file-name.proto
protoc --rust_out test proto/text_format_test_data.proto
protoc --rust_out test -I proto proto/test_*.proto

cd test

rustc --test -L ../../target lib.rs
./lib