Skip to content

Commit

Permalink
Remove tracing-subscriber dep
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc committed Nov 29, 2024
1 parent fa9368c commit 126f041
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 25 deletions.
37 changes: 18 additions & 19 deletions Cargo.lock

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

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ url = { version = "2.5", default-features = false }

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

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

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

[[example]]
name = "client"
Expand Down
2 changes: 0 additions & 2 deletions examples/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ const NONCE: u64 = 123456789;

#[tokio::main]
async fn main() {
tracing_subscriber::fmt::init();

let url =
Url::parse("ws://oxtrdevav64z64yb7x6rjg4ntzqjhedm5b5zjqulugknhzr46ny2qbad.onion").unwrap();
let (mut tx, mut rx) =
Expand Down
2 changes: 0 additions & 2 deletions examples/hs-server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ use tokio::net::{TcpListener, TcpStream};

#[tokio::main]
async fn main() {
tracing_subscriber::fmt::init();

// Bind
let listener = TcpListener::bind("127.0.0.1:55889").await.unwrap();

Expand Down

0 comments on commit 126f041

Please # to comment.