rustls 0.9.0

Rustls is a modern TLS library written in Rust.
Documentation
#!/bin/sh

export COVERAGE_OUT=$PWD/target/coverage
export KCOV_OPTIONS="kcov --exclude-pattern=/.cargo/,intrin.h --verify"
export COVERAGE="$KCOV_OPTIONS $COVERAGE_OUT"
export RUST_TEST_THREADS=1

# unit and integration tests. run these twice, first to capture coverage of
# child processes and then to capture coverage of the test themselves
for test in $(cargo test notexist 2>&1 | grep Running | awk '{ print $2 }') ; do
  WITH_COVBIN_WRAPPERS=1 ./$test
  $COVERAGE ./$test
done

# bogo tests
( cd bogo && ./runme )

# trytls tests
( cd trytls && ./runme )

$KCOV_OPTIONS --coveralls-id=$TRAVIS_JOB_ID --report-only target/coverage/ ./target/debug/examples/tlsclient