Added rustfmt checking.
@@ -10,6 +10,9 @@ before_install:
- sudo apt-get -qq update
install:
- sudo apt-get -qq --yes install gcc g++ make libsodium-dev libleveldb-dev libssl-dev
+- cargo fmt -p cryptocurrency -- --write-mode=diff
+- cargo fmt -p cryptocurrency_api_tests -- --write-mode=diff
+- cargo install rustfmt --force
script:
- cargo check --features clippy --verbose
- cargo build --release --verbose
