Skip to content

Commit

Permalink
Bump version to 0.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dalance committed Feb 28, 2017
1 parent cd16f80 commit ad97177
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "amber"
version = "0.3.2"
version = "0.3.3"
authors = ["[email protected]"]
repository = "https://github.com/dalance/amber"
keywords = ["search", "replace"]
Expand Down
7 changes: 0 additions & 7 deletions src/ambr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use amber::pipeline_replacer::PipelineReplacer;
use amber::util::{decode_error, read_from_file, as_secsf64};
use docopt::Docopt;
use std::cmp;
use std::io::Write;
use std::path::PathBuf;
use std::process;
use std::sync::mpsc;
Expand Down Expand Up @@ -288,9 +287,6 @@ fn main() {
time_matcher_all.push( Duration::new(0, 0) );
}

let mut count_finder = 0;
let mut count_matcher = 0;

loop {
match rx_main.try_recv() {
Ok ( PipelineInfo::SeqEnd ( _ ) ) => break,
Expand Down Expand Up @@ -333,9 +329,6 @@ fn main() {
}
console.write( ConsoleTextKind::Info, &format!( " Sort : {}s / {}s\n" , sec_sorter_bsy , sec_sorter_all ) );
console.write( ConsoleTextKind::Info, &format!( " Replace : {}s / {}s\n\n", sec_replacer_bsy, sec_replacer_all ) );
console.write( ConsoleTextKind::Info, &format!( " Path count\n" ) );
console.write( ConsoleTextKind::Info, &format!( " Found : {}\n" , count_finder ) );
console.write( ConsoleTextKind::Info, &format!( " Matched : {}\n" , count_matcher ) );
}

console.reset();
Expand Down
7 changes: 0 additions & 7 deletions src/ambs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use amber::pipeline_printer::PipelinePrinter;
use amber::util::{decode_error, read_from_file, as_secsf64};
use docopt::Docopt;
use std::cmp;
use std::io::Write;
use std::path::PathBuf;
use std::process;
use std::sync::mpsc;
Expand Down Expand Up @@ -269,9 +268,6 @@ fn main() {
time_matcher_all.push( Duration::new(0, 0) );
}

let mut count_finder = 0;
let mut count_matcher = 0;

loop {
match rx_main.try_recv() {
Ok ( PipelineInfo::SeqEnd ( _ ) ) => break,
Expand Down Expand Up @@ -310,9 +306,6 @@ fn main() {
}
console.write( ConsoleTextKind::Info, &format!( " Sort : {}s / {}s\n" , sec_sorter_bsy , sec_sorter_all ) );
console.write( ConsoleTextKind::Info, &format!( " Display : {}s / {}s\n\n", sec_printer_bsy , sec_printer_all ) );
console.write( ConsoleTextKind::Info, &format!( " Path count\n" ) );
console.write( ConsoleTextKind::Info, &format!( " Found : {}\n" , count_finder ) );
console.write( ConsoleTextKind::Info, &format!( " Matched : {}\n" , count_matcher ) );
}

console.reset();
Expand Down
2 changes: 1 addition & 1 deletion src/console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use matcher::Match;
use std::io;
use std::io::Write;
use std::process;
use term::{Terminal, StdoutTerminal, StderrTerminal};
use term::{StdoutTerminal, StderrTerminal};
use term::color::Color;

// ---------------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit ad97177

Please sign in to comment.