Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bindings/rust/standard/integration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ serde_json = "1"
# s2n_tls_extension_type enum (u32 vs i32), so it can't compile on Windows.
[target.'cfg(not(target_os = "windows"))'.dev-dependencies]
# This should be the latest version of metrics subscriber available on crates.io
old-metrics-subscriber = { package = "s2n-tls-metrics-subscriber", version = "0.0.3" }
old-metrics-subscriber = { package = "s2n-tls-metrics-subscriber", version = "0.0.5" }

# NOTE: BoringSSL is disabled on macOS to avoid symbol collisions with
# OpenSSL (see https://github.com/aws/s2n-tls/pull/5659), and on Windows because BoringSSL can't be built under the MSYS2/MinGW toolchain.
Expand Down
4 changes: 2 additions & 2 deletions bindings/rust/standard/integration/tests/metrics_stability.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl VecSink {
}

impl TelemetrySink for VecSink {
fn export_record(&self, record: &MetricRecord) {
fn export_record(&self, record: MetricRecord) {
self.records.lock().unwrap().push(record.clone());
}
}
Expand Down Expand Up @@ -74,7 +74,7 @@ fn old_event_subscriber_builds() {
let handshake = &json["handshake"];

// One successful handshake was recorded
assert_eq!(handshake["handshake_count"], 1);
assert_eq!(handshake["handshake_success_count"], 1);
assert_eq!(handshake["synthetic_traffic_count"], 0);

// Negotiated parameters: exactly one of each was counted
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "s2n-tls-metrics-subscriber"
version = "0.0.5"
version = "0.0.6"
edition = "2024"
description = "Telemetry provider for s2n-tls"
authors = ["AWS s2n"]
Expand Down
Loading