Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
criterion 0.2.4 - Docs.rs
[go: Go Back, main page]

criterion 0.2.4

Statistics-driven micro-benchmarking library
Documentation
set -ex

if [ "$CLIPPY" = "yes" ]; then
  cargo install clippy --force --vers $CLIPPY_VERSION
fi

if [ "$DOCS" = "yes" ]; then
    cargo install mdbook --force
fi

if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$GNUPLOT" = "yes" ]; then
    brew update
    brew install gnuplot
fi

if [ "$COVERAGE" = "yes" ]; then
    RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin --force
fi

if [ "$RUSTFMT" = "yes" ]; then
    rustup component add rustfmt-preview
fi