Skip to content

Commit 126f041

Browse files
committed
Remove tracing-subscriber dep
1 parent fa9368c commit 126f041

File tree

4 files changed

+19
-25
lines changed

4 files changed

+19
-25
lines changed

Cargo.lock

Lines changed: 18 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ url = { version = "2.5", default-features = false }
2222

2323
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
2424
tokio = { version = "1", features = ["net", "sync", "time"] }
25-
tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "tls12"] } # Required to enable the needed features for tokio-tungstenite
25+
tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "tls12"] } # Required to enable the necessary features for tokio-tungstenite
2626
tokio-socks = { version = "0.5", optional = true }
2727
tokio-tungstenite = { version = "0.24", features = ["rustls-tls-webpki-roots"] }
2828

@@ -41,7 +41,6 @@ web-sys = { version = "0.3", features = ["BinaryType", "Blob", "CloseEvent", "Er
4141

4242
[dev-dependencies]
4343
tokio = { version = "1", features = ["macros"] }
44-
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
4544

4645
[[example]]
4746
name = "client"

examples/client.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ const NONCE: u64 = 123456789;
1010

1111
#[tokio::main]
1212
async fn main() {
13-
tracing_subscriber::fmt::init();
14-
1513
let url =
1614
Url::parse("ws://oxtrdevav64z64yb7x6rjg4ntzqjhedm5b5zjqulugknhzr46ny2qbad.onion").unwrap();
1715
let (mut tx, mut rx) =

examples/hs-server.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ use tokio::net::{TcpListener, TcpStream};
99

1010
#[tokio::main]
1111
async fn main() {
12-
tracing_subscriber::fmt::init();
13-
1412
// Bind
1513
let listener = TcpListener::bind("127.0.0.1:55889").await.unwrap();
1614

0 commit comments

Comments
 (0)