Skip to content

Commit

Permalink
chore: update crossterm (#4824)
Browse files Browse the repository at this point in the history
  • Loading branch information
stringhandler authored Oct 19, 2022
1 parent f608a60 commit 659f4b8
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 97 deletions.
105 changes: 23 additions & 82 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion applications/tari_console_wallet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ bitflags = "1.2.1"
chrono = { version = "0.4.19", default-features = false }
clap = { version = "3.1.1", features = ["derive", "env"] }
config = "0.13.0"
crossterm = { version = "0.17" }
crossterm = { version = "0.25.0" }
digest = "0.9.0"
futures = { version = "^0.3.16", default-features = false, features = ["alloc"] }
log = { version = "0.4.8", features = ["std"] }
Expand Down
2 changes: 1 addition & 1 deletion applications/tari_console_wallet/src/ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub mod state;
mod ui_contact;
mod ui_error;
mod widgets;
use std::io::{stdout, Stdout, Write};
use std::io::{stdout, Stdout};

pub use app::*;
use crossterm::{
Expand Down
2 changes: 1 addition & 1 deletion applications/tari_merge_mining_proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tari_base_node_grpc_client = {path="../../clients/rust/base_node_grpc_client" }
tari_wallet_grpc_client = {path="../../clients/rust/wallet_grpc_client" }

anyhow = "1.0.53"
crossterm = { version = "0.17" }
crossterm = { version = "0.25.0" }
bincode = "1.3.1"
bytes = "1.1"
chrono = { version = "0.4.6", default-features = false }
Expand Down
5 changes: 1 addition & 4 deletions applications/tari_merge_mining_proxy/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ mod proxy;
#[cfg(test)]
mod test;

use std::{
convert::Infallible,
io::{stdout, Write},
};
use std::{convert::Infallible, io::stdout};

use clap::Parser;
use crossterm::{execute, terminal::SetTitle};
Expand Down
2 changes: 1 addition & 1 deletion applications/tari_miner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tari_app_grpc = { path = "../tari_app_grpc" }
tari_crypto = { git = "https://github.com/tari-project/tari-crypto.git", tag = "v0.15.6" }
tari_utilities = { git = "https://github.com/tari-project/tari_utilities.git", tag="v0.4.7" }

crossterm = { version = "0.17" }
crossterm = { version = "0.25.0" }
clap = { version = "3.1.1", features = ["derive"] }
crossbeam = "0.8"
futures = "0.3"
Expand Down
8 changes: 1 addition & 7 deletions applications/tari_miner/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,7 @@
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

use std::{
convert::TryFrom,
io::{stdout, Write},
str::FromStr,
thread,
time::Instant,
};
use std::{convert::TryFrom, io::stdout, str::FromStr, thread, time::Instant};

use clap::Parser;
use crossterm::{execute, terminal::SetTitle};
Expand Down

0 comments on commit 659f4b8

Please sign in to comment.