diff --git a/poem-openapi/Cargo.toml b/poem-openapi/Cargo.toml index be20f802eb..57dbd03f32 100644 --- a/poem-openapi/Cargo.toml +++ b/poem-openapi/Cargo.toml @@ -69,10 +69,10 @@ bson = { version = "2.0.0", optional = true } rust_decimal = { version = "1.22.0", optional = true } humantime = { version = "2.1.0", optional = true } ipnet = { version = "2.7.1", optional = true } -prost-wkt-types = { version = "0.5.0", optional = true } +prost-wkt-types = { version = "0.6.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 = [ +sqlx = { version = "0.8.0", features = [ "json", "postgres", "sqlite", diff --git a/poem-openapi/src/registry/clean_unused.rs b/poem-openapi/src/registry/clean_unused.rs index 3ce3955f23..339eee44cf 100644 --- a/poem-openapi/src/registry/clean_unused.rs +++ b/poem-openapi/src/registry/clean_unused.rs @@ -24,7 +24,7 @@ impl<'a> Document<'a> { self.traverse_schema(used_types, schema_ref); } - for schema_ref in &schema.items { + if let Some(schema_ref) = &schema.items { self.traverse_schema(used_types, schema_ref); } diff --git a/poem/Cargo.toml b/poem/Cargo.toml index 7c07cc4fd4..7a591b24a3 100644 --- a/poem/Cargo.toml +++ b/poem/Cargo.toml @@ -162,7 +162,7 @@ tokio-stream = { workspace = true, optional = true } # Feature optional dependencies anyhow = { version = "1.0.0", optional = true } -eyre06 = { package = "eyre", version = "0.6", optional = true } +eyre06 = { package = "eyre", version = "0.6.12", optional = true } uuid = { version = "1.8.0", optional = true, default-features = false, features = [ "v4", ] }