diff --git a/Cargo.toml b/Cargo.toml index 46430db..4c29677 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,4 +28,4 @@ tracing = "0.1.40" [dev-dependencies] tokio-test = "0.4.4" -tower-http = { version = "0.4.4", features = ["cors"] } +tower-http = { version = "0.6.0", features = ["cors"] } diff --git a/examples/cross-site/Cargo.toml b/examples/cross-site/Cargo.toml index 7c4ad8b..df10f5a 100644 --- a/examples/cross-site/Cargo.toml +++ b/examples/cross-site/Cargo.toml @@ -13,5 +13,5 @@ color-eyre = "0.6.3" rand = "0.8.5" tokio = { version = "1.37.0", features = ["macros", "rt", "rt-multi-thread"] } tower = "0.4.13" -tower-http = { version = "0.4.4", features = ["cors"] } +tower-http = { version = "0.6.0", features = ["cors"] } tracing-subscriber = "0.3.18"