From a56aa584481cd60026b635fd5ae94fb098221eaf Mon Sep 17 00:00:00 2001 From: Julian Antonielli Date: Fri, 21 Apr 2023 14:49:53 +0000 Subject: [PATCH 1/2] Fix `regex` tracing issue Workaround until https://github.com/tokio-rs/tracing/pull/2566 fixes this. --- aws/rust-runtime/aws-credential-types/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aws/rust-runtime/aws-credential-types/Cargo.toml b/aws/rust-runtime/aws-credential-types/Cargo.toml index 8fad933c2a..70beecc260 100644 --- a/aws/rust-runtime/aws-credential-types/Cargo.toml +++ b/aws/rust-runtime/aws-credential-types/Cargo.toml @@ -28,6 +28,9 @@ env_logger = "0.9.0" tokio = { version = "1.23.1", features = ["full", "test-util", "rt"] } tracing-test = "0.2.1" +# Workaround until https://github.com/tokio-rs/tracing/pull/2566 +# fixes this. +regex = { version = "1.0", features = ["unicode-case", "unicode-perl"] } [package.metadata.docs.rs] all-features = true From 847af3dd8b6cd346e5b8a658eb940fa15826ca72 Mon Sep 17 00:00:00 2001 From: Julian Antonielli Date: Fri, 21 Apr 2023 15:09:51 +0000 Subject: [PATCH 2/2] Link to #2619 --- aws/rust-runtime/aws-credential-types/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws/rust-runtime/aws-credential-types/Cargo.toml b/aws/rust-runtime/aws-credential-types/Cargo.toml index 70beecc260..4a0b8a9390 100644 --- a/aws/rust-runtime/aws-credential-types/Cargo.toml +++ b/aws/rust-runtime/aws-credential-types/Cargo.toml @@ -28,8 +28,8 @@ env_logger = "0.9.0" tokio = { version = "1.23.1", features = ["full", "test-util", "rt"] } tracing-test = "0.2.1" -# Workaround until https://github.com/tokio-rs/tracing/pull/2566 -# fixes this. +# TODO(https://github.com/awslabs/smithy-rs/issues/2619): Remove this +# workaround once the fixed is upstreamed. regex = { version = "1.0", features = ["unicode-case", "unicode-perl"] } [package.metadata.docs.rs]