From 032eebc1478f0d33eae08c783f0adb730bf8f44a Mon Sep 17 00:00:00 2001 From: MOZGIII Date: Wed, 21 Feb 2024 20:28:34 -0300 Subject: [PATCH] Print certificate at xwt-wtransport tests --- Cargo.lock | 2 ++ crates/xwt-wtransport/Cargo.toml | 2 ++ crates/xwt-wtransport/tests/test.rs | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index ec82c65..9794b12 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1552,8 +1552,10 @@ dependencies = [ "anyhow", "color-eyre", "tokio", + "tracing", "tracing-subscriber", "wtransport", + "xwt-cert-utils", "xwt-core", "xwt-test-assets", "xwt-tests", diff --git a/crates/xwt-wtransport/Cargo.toml b/crates/xwt-wtransport/Cargo.toml index 4825de1..e4f7ada 100644 --- a/crates/xwt-wtransport/Cargo.toml +++ b/crates/xwt-wtransport/Cargo.toml @@ -17,8 +17,10 @@ wtransport = { version = "0.1.11" } [target.'cfg(not(target_family = "wasm"))'.dev-dependencies] xwt-tests = { version = "0.4.2", path = "../xwt-tests" } xwt-test-assets = { version = "0.1", path = "../xwt-test-assets" } +xwt-cert-utils = { version = "0.1", path = "../xwt-cert-utils" } anyhow = "1" tokio = { version = "1", features = ["macros"] } color-eyre = "0.6" tracing-subscriber = "0.3" +tracing = "0.1" diff --git a/crates/xwt-wtransport/tests/test.rs b/crates/xwt-wtransport/tests/test.rs index d63a412..d4f7f6c 100644 --- a/crates/xwt-wtransport/tests/test.rs +++ b/crates/xwt-wtransport/tests/test.rs @@ -17,6 +17,10 @@ fn test_endpoint() -> xwt_wtransport::Endpoint