Upgrade to qlog 0.16

This commit is contained in:
Dirkjan Ochtman
2026-02-16 14:35:55 +00:00
parent d305440ef7
commit 70d083be9e
3 changed files with 5 additions and 4 deletions
Generated
+2 -2
View File
@@ -1900,9 +1900,9 @@ dependencies = [
[[package]]
name = "qlog"
version = "0.15.2"
version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0f15b83c59e6b945f2261c95a1dd9faf239187f32ff0a96af1d1d28c4557f919"
checksum = "16689c500fede96aa7d5e1f8924abe08fafb65146d7e192826bb5fb57a1e1ad0"
dependencies = [
"serde",
"serde_json",
+1 -1
View File
@@ -30,7 +30,7 @@ hex-literal = "1"
lru-slab = "0.1.2"
log = "0.4"
pin-project-lite = "0.2"
qlog = "0.15.2"
qlog = "0.16"
rand = "0.9"
rcgen = "0.14"
ring = "0.17"
+2 -1
View File
@@ -10,7 +10,7 @@ use super::{
use crate::{Duration, Instant, TIMER_GRANULARITY, TransportConfig, congestion, packet::SpaceId};
#[cfg(feature = "qlog")]
use qlog::events::quic::MetricsUpdated;
use qlog::events::{ExData, quic::MetricsUpdated};
/// Description of a particular network path
pub(super) struct PathData {
@@ -264,6 +264,7 @@ impl RecoveryMetrics {
}
Some(MetricsUpdated {
ex_data: ExData::default(),
min_rtt: updated.min_rtt.map(|rtt| rtt.as_secs_f32()),
smoothed_rtt: updated.smoothed_rtt.map(|rtt| rtt.as_secs_f32()),
latest_rtt: updated.latest_rtt.map(|rtt| rtt.as_secs_f32()),