diff --git a/server-rs/Cargo.lock b/server-rs/Cargo.lock index 07ddbe576..d76f865be 100644 --- a/server-rs/Cargo.lock +++ b/server-rs/Cargo.lock @@ -240,6 +240,7 @@ dependencies = [ "platform-oss", "platform-speech", "platform-wechat", + "png", "regex", "reqwest", "ring", diff --git a/server-rs/Cargo.toml b/server-rs/Cargo.toml index 83e472426..157646847 100644 --- a/server-rs/Cargo.toml +++ b/server-rs/Cargo.toml @@ -87,6 +87,7 @@ http-body-util = "0.1" httpdate = "1" hex = "0.4" image = { version = "0.25", default-features = false } +png = "0.18" jsonwebtoken = "9" log = "0.4" mime_guess = "2.0.5" diff --git a/server-rs/crates/api-server/Cargo.toml b/server-rs/crates/api-server/Cargo.toml index 0a166cd5f..a5b2e3cec 100644 --- a/server-rs/crates/api-server/Cargo.toml +++ b/server-rs/crates/api-server/Cargo.toml @@ -14,6 +14,7 @@ bytes = { workspace = true } dotenvy = { workspace = true } hex = { workspace = true } image = { workspace = true, features = ["jpeg", "png", "webp"] } +png = { workspace = true } http-body-util = { workspace = true } reqwest = { workspace = true, features = ["json", "multipart", "rustls-tls"] } regex = { workspace = true }