Unverified Commit 5a199079 authored by Zelda Hessler's avatar Zelda Hessler Committed by GitHub
Browse files

update: insecure deps (#1039)

* update: insecure deps
add: extra context to timeout test failure

* Update aws/rust-runtime/aws-config/Cargo.toml

* update: tracing-subscriber dependents
remove: tracing-subscriber fmt feature (it's default)

* update: tracing-subscriber dependents
remove: tracing-subscriber fmt feature (it's default)

* update: hyper dependents to be less specific
parent 2f701abc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ aws-smithy-types = { path = "../../sdk/build/aws-sdk/sdk/aws-smithy-types" }
aws-types = { path = "../../sdk/build/aws-sdk/sdk/aws-types" }
tokio = { version = "1", features = ["sync"] }
tracing = { version = "0.1" }
hyper = { version = "0.14.16", default-features = false }
hyper = { version = "0.14", default-features = false }

aws-http = { path = "../../sdk/build/aws-sdk/sdk/aws-http" }
aws-smithy-http = { path = "../../sdk/build/aws-sdk/sdk/aws-smithy-http" }
@@ -35,7 +35,7 @@ tower = { version = "0.4.8" }

[dev-dependencies]
futures-util = "0.3.16"
tracing-test = "0.1.0"
tracing-test = "0.2.1"

tokio = { version = "1", features = ["full", "test-util"] }
# used to test compatibility
+11 −2
Original line number Diff line number Diff line
@@ -1028,8 +1028,17 @@ pub(crate) mod test {
            .get("/latest/metadata")
            .await
            .expect_err("240.0.0.0 will never resolve");
        assert!(now.elapsed().unwrap() > Duration::from_secs(1));
        assert!(now.elapsed().unwrap() < Duration::from_secs(2));
        let time_elapsed = now.elapsed().unwrap();
        assert!(
            time_elapsed > Duration::from_secs(1),
            "time_elapsed should be greater than 1s but was {:?}",
            time_elapsed
        );
        assert!(
            time_elapsed < Duration::from_secs(2),
            "time_elapsed should be less than 2s but was {:?}",
            time_elapsed
        );
        match resp {
            ImdsError::FailedToLoadToken(err) if format!("{}", err).contains("timeout") => {} // ok,
            other => panic!(
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ aws-smithy-protocol-test = { path = "../../../rust-runtime/aws-smithy-protocol-t
env_logger = "0.9"
http = "0.2.3"
tokio = { version = "1", features = ["macros", "rt", "rt-multi-thread", "test-util"] }
tracing-subscriber = { version = "0.2.16", features = ["fmt"] }
tracing-subscriber = { version = "0.3.5", features = ["env-filter"] }
proptest = "1"
serde = { version = "1", features = ["derive"]}
serde_json = "1"
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ tracing = "0.1"

[dev-dependencies]
aws-endpoint = { path = "../aws-endpoint" }
tracing-test = "0.1"
tracing-test = "0.2.1"

[package.metadata.docs.rs]
all-features = true
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ once_cell = "1.8"
percent-encoding = { version = "2.1", optional = true }
regex = "1.5"
ring = "0.16"
time = "0.3.4"
time = "0.3.5"
tracing = "0.1"

[dev-dependencies]
Loading