Skip to content

Commit

Permalink
chore: bump tokio-tungstenite,quick-xml, up tokio, openssl t… (
Browse files Browse the repository at this point in the history
…#857)

* chore: bump `tokio-tungstenite`,`quick-xml`, up  `tokio`, `openssl` to avoid security warning

* update test

---------

Co-authored-by: hzlinyiyu <[email protected]>
Co-authored-by: Sunli <[email protected]>
  • Loading branch information
3 people committed Jul 27, 2024
1 parent be8ca43 commit e4ba74c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ proc-macro-crate = "3.0.0"
proc-macro2 = "1.0.29"
quote = "1.0.9"
syn = { version = "2.0" }
tokio = "1.17.0"
tokio = "1.39.1"
serde_json = "1.0.68"
serde = { version = "1.0.130", features = ["derive"] }
thiserror = "1.0.30"
Expand All @@ -41,7 +41,7 @@ bytes = "1.1.0"
futures-util = "0.3.17"
tokio-stream = "0.1.8"
serde_yaml = "0.9"
quick-xml = { version = "0.32.0", features = ["serialize"] }
quick-xml = { version = "0.36.1", features = ["serialize"] }
base64 = "0.22.0"
serde_urlencoded = "0.7.1"
indexmap = "2.0.0"
Expand Down
9 changes: 7 additions & 2 deletions poem-openapi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ hostname-validator = { version = "1.1.0", optional = true }
chrono = { workspace = true, optional = true, default-features = false, features = [
"clock",
] }
time = { version = "0.3.9", optional = true, features = [
time = { version = "0.3.36", optional = true, features = [
"parsing",
"formatting",
] }
Expand All @@ -72,7 +72,12 @@ ipnet = { version = "2.7.1", optional = true }
prost-wkt-types = { version = "0.5.0", optional = true }
geo-types = { version = "0.7.12", optional = true }
geojson = { version = "0.24.1", features = ["geo-types"], optional = true }
sqlx = { version = "0.7.4", features = ["json", "postgres", "sqlite", "mysql"], optional = true }
sqlx = { version = "0.7.4", features = [
"json",
"postgres",
"sqlite",
"mysql",
], optional = true }

[dev-dependencies]
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
Expand Down
4 changes: 2 additions & 2 deletions poem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ sync_wrapper = { version = "1.0.0", features = ["futures"] }

# Non-feature optional dependencies
multer = { version = "3.0.0", features = ["tokio"], optional = true }
tokio-tungstenite = { version = "0.21.0", optional = true }
tokio-tungstenite = { version = "0.23.1", optional = true }
tokio-rustls = { workspace = true, optional = true }
rustls-pemfile = { version = "2.0.0", optional = true }
async-compression = { version = "0.4.0", optional = true, features = [
Expand Down Expand Up @@ -139,7 +139,7 @@ libtempfile = { package = "tempfile", version = "3.2.0", optional = true }
priority-queue = { version = "2.0.2", optional = true }
tokio-native-tls = { version = "0.3.0", optional = true }
tokio-openssl = { version = "0.6.3", optional = true }
openssl = { version = "0.10.56", optional = true }
openssl = { version = "0.10.66", optional = true }
base64 = { workspace = true, optional = true }
libcsrf = { package = "csrf", version = "0.4.1", optional = true }
httpdate = { version = "1.0.2", optional = true }
Expand Down
1 change: 0 additions & 1 deletion poem/src/web/websocket/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ mod tests {

check(addr, "aaa", Some(&HeaderValue::from_static("aaa"))).await;
check(addr, "bbb", Some(&HeaderValue::from_static("bbb"))).await;
check(addr, "ccc", None).await;

handle.abort();
}
Expand Down

0 comments on commit e4ba74c

Please sign in to comment.