netbuf 0.3.7

The simple to use growable buffer object with right assumptions and interface. Tuned for using it for network buffers.
Documentation
commands:

  make: !Command
    description: Build netbuf library
    container: ubuntu
    run: [cargo, build]

  test: !Command
    description: Test netbuf library
    container: ubuntu
    environ:
      RUST_BACKTRACE: 1
    run: [cargo, test]

  coverage: !Command
    description: Run coverage tests for netbuf library
    container: ubuntu
    environ:
      RUST_BACKTRACE: 1
    run: |
      cargo test --no-run
      rm -rf target/cov
      kcov target/cov target/debug/netbuf-638268726e961e5a

  cargo: !Command
    description: Run any cargo command
    container: ubuntu
    run: [cargo]

  docs: !Command
    description: Generate documentation
    container: ubuntu
    run: [cargo, doc]

containers:

  ubuntu:
    setup:
    - !Ubuntu trusty
    - !UbuntuUniverse ~
    - !Install [make, checkinstall, wget, ca-certificates,
                libssl-dev, build-essential]

    - !TarInstall
      url: "http://static.rust-lang.org/dist/rust-1.8.0-x86_64-unknown-linux-gnu.tar.gz"
      script: "./install.sh --prefix=/usr \
        --components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo"

    - !BuildDeps [libcurl4-openssl-dev, libelf-dev, libdw-dev, cmake,
                  python]
    - !Install [libdw1, libelf1, libcurl3]
    - !GitInstall
      url: git://github.com/SimonKagstrom/kcov
      script: |
        cmake .
        make
        make install

    environ:
      HOME: /work/target

  nightly:
    setup:
    - !Ubuntu trusty
    - !UbuntuUniverse ~
    - !Install [make, checkinstall, wget, ca-certificates,
                libssl-dev, build-essential]

    - !TarInstall
      url: "http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz"
      script: "./install.sh --prefix=/usr --components=rustc,cargo"

    environ:
      HOME: /work/target