diff --git a/Cargo.lock b/Cargo.lock index b47c5f2..9939a7f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1522,6 +1522,7 @@ dependencies = [ "leptos_icons", "leptos_meta", "leptos_router", + "multer", "openssl", "pbkdf2", "serde", diff --git a/Cargo.toml b/Cargo.toml index aab7d94..78b142c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,6 +38,7 @@ async-trait = "0.1.79" axum-login = { version = "0.14.0", optional = true } server_fn = { version = "0.6.11", features = ["multipart"] } symphonia = { version = "0.5.4", default-features = false, features = ["mp3"], optional = true } +multer = { version = "3.0.0", optional = true } [patch.crates-io] gloo-net = { git = "https://github.com/rustwasm/gloo.git", rev = "a823fab7ecc4068e9a28bd669da5eaf3f0a56380" } @@ -64,6 +65,7 @@ ssr = [ "tower-sessions-redis-store", "axum-login", "symphonia", + "multer", ] # Defines a size-optimized profile for the WASM bundle in release mode