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:
parent
197e5792f8
commit
253e244a86
2 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue