Add multer crate

This commit is contained in:
Ethan Girouard 2024-05-10 10:55:26 -04:00
parent 6bf08b7507
commit 490772654d
Signed by: eta357
GPG Key ID: 7BCDC36DFD11C146
2 changed files with 3 additions and 0 deletions

1
Cargo.lock generated
View File

@ -1522,6 +1522,7 @@ dependencies = [
"leptos_icons",
"leptos_meta",
"leptos_router",
"multer",
"openssl",
"pbkdf2",
"serde",

View File

@ -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