fix(notify): Fix XML Filter parsing and add comprehensive tests (#2191)

This commit is contained in:
houseme
2026-03-17 23:08:07 +08:00
committed by GitHub
parent ce1f7cfdcb
commit b5d881f399
9 changed files with 1208 additions and 24 deletions
+7 -1
View File
@@ -37,7 +37,6 @@ chrono = { workspace = true, features = ["serde"] }
futures = { workspace = true }
form_urlencoded = { workspace = true }
hashbrown = { workspace = true }
quick-xml = { workspace = true, features = ["serialize", "async-tokio"] }
rayon = { workspace = true }
rumqttc = { workspace = true }
rustc-hash = { workspace = true }
@@ -49,6 +48,13 @@ tracing = { workspace = true }
url = { workspace = true }
wildmatch = { workspace = true, features = ["serde"] }
# quick-xml dependencies for custom S3KeyFilter XML deserialization
# Custom deserializer implemented for S3KeyFilter to handle both XML structures:
# - Direct FilterRule elements under S3Key (AWS S3 format)
# - FilterRuleList wrapper format
# This makes quick-xml 0.39.2 work correctly with Filter elements
quick-xml = { workspace = true, features = ["serialize", "serde-types", "encoding"] }
[dev-dependencies]
tokio = { workspace = true, features = ["test-util"] }
tracing-subscriber = { workspace = true, features = ["env-filter"] }