protobuf-build 0.12.2

Utility functions for generating Rust code from protobufs (using protobuf-rust or Prost)
Documentation
language: rust
sudo: false
env:
  global:
    - RUST_BACKTRACE=1
    - RUSTFLAGS="-D warnings"
cache: cargo

rust:

matrix:
  include:
  # This build uses stable and checks rustfmt and clippy.
  # We don't check them on nightly since their lints and formatting may differ.
  - rust: stable
    install:
      - rustup component add rustfmt
      - rustup component add clippy
    before_script:
      - cargo fmt -- --check
      - cargo clippy
  # Since many users will use nightlies, also test that.
  - rust: nightly

script:
  - cargo test --all -- --nocapture
  - cargo test --no-default-features --features prost-codec --all -- --nocapture
  - cargo test --no-default-features --features grpcio-protobuf-codec --all -- --nocapture
  - cargo test --no-default-features --features grpcio-prost-codec --all -- --nocapture