mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-09 00:00:12 +02:00
Add Multipart extractor for consuming multipart/form-data requests (#32)
Multipart implementation on top of `multer`
This commit is contained in:
@@ -15,6 +15,7 @@ version = "0.1.0"
|
||||
[features]
|
||||
default = []
|
||||
ws = ["tokio-tungstenite", "sha-1", "base64"]
|
||||
multipart = ["multer", "mime"]
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1"
|
||||
@@ -38,6 +39,8 @@ tokio-tungstenite = { optional = true, version = "0.14" }
|
||||
sha-1 = { optional = true, version = "0.9.6" }
|
||||
base64 = { optional = true, version = "0.13" }
|
||||
headers = { optional = true, version = "0.3" }
|
||||
multer = { optional = true, version = "2.0.0" }
|
||||
mime = { optional = true, version = "0.3" }
|
||||
|
||||
[dev-dependencies]
|
||||
askama = "0.10.5"
|
||||
|
||||
Reference in New Issue
Block a user