Skip to content

Commit 6008a35

Browse files
authored
Remove unused dependencies (#833)
* chore: remove unused dependencies * chore: replace console terminal check with std
1 parent fe777b5 commit 6008a35

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ serde = { version = "1.0", features = ["derive"] }
8080
serde_json = "1"
8181
thiserror = "1"
8282

83+
console = "0.16"
8384
data-encoding = "2.6.0"
8485
hex = "0.4"
8586
toml = "0.9.5"

libp2p-rendezvous-node/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,5 @@ tracing-subscriber = { workspace = true, default-features = false, features = ["
2727
anyhow = "1"
2828

2929
# Other
30-
console = { workspace = true }
3130
structopt = { version = "0.3", default-features = false }
3231
swap-env = { path = "../swap-env" }

libp2p-rendezvous-node/src/tracing_util.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
use std::io::IsTerminal;
12
use tracing::level_filters::LevelFilter;
23
use tracing_subscriber::FmtSubscriber;
34

@@ -6,7 +7,7 @@ pub fn init_tracing(level: LevelFilter) {
67
return;
78
}
89

9-
let is_terminal = console::Term::stderr().is_term();
10+
let is_terminal = std::io::stderr().is_terminal();
1011

1112
FmtSubscriber::builder()
1213
.with_env_filter(format!(

monero-wallet/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@ monero = { workspace = true }
1313
monero-sys = { path = "../monero-sys" }
1414
swap-core = { path = "../swap-core" }
1515
throttle = { path = "../throttle" }
16-
time = "0.3"
1716
uuid = { workspace = true }
1817

1918
# Tokio
2019
tokio = { workspace = true, features = ["process", "fs", "net", "parking_lot", "rt"] }
2120

2221
# Tracing
2322
tracing = { workspace = true }
24-
tracing-appender = "0.2"
2523
tracing-subscriber = { workspace = true }
2624

2725
# monero-oxide

src-gui/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
"@types/node": "^22.15.29",
6060
"@types/react": "^19.1.6",
6161
"@types/react-dom": "^19.1.5",
62-
"@types/react-is": "^19.0.0",
6362
"@types/react-redux": "^7.1.34",
6463
"@types/semver": "^7.5.8",
6564
"@vitejs/plugin-react": "^4.2.1",

0 commit comments

Comments
 (0)