1
0
Fork 0
mirror of https://github.com/romanz/electrs.git synced 2025-02-23 06:45:26 +01:00

Fix cargo fmt for Travis

Stable Rust doesn't support `cargo fmt --check` (yet).
This commit is contained in:
Roman Zeyde 2018-07-14 13:02:28 +03:00
parent 197e5792f8
commit 253e244a86
No known key found for this signature in database
GPG key ID: 87CAE5FA46917CBB
2 changed files with 2 additions and 6 deletions

View file

@ -2,10 +2,9 @@ language: rust
cache: cargo
rust:
- stable
- beta
before_script:
- rustup component add rustfmt-preview
script:
- cargo fmt --all -- --check
- cargo fmt --all -- --write-mode=check
- cargo build --verbose
- cargo test --verbose

View file

@ -5,10 +5,7 @@ extern crate log;
extern crate error_chain;
use electrs::{
bulk, config::Config, daemon::Daemon, errors::*, metrics::Metrics,
store::{DBStore},
};
use electrs::{bulk, config::Config, daemon::Daemon, errors::*, metrics::Metrics, store::DBStore};
use error_chain::ChainedError;