#!/bin/sh
#
# See https://github.com/rhysd/cargo-husky#readme
#

set -e

echo "+Run CI steps"

rustc --version
cargo --version
cargo fmt --all -- --check
cargo clippy -- -D warnings
cargo build
cargo test
cargo test --doc
