File upload working

This commit is contained in:
Cameron Cordes
2020-09-11 19:32:10 -04:00
parent fe23586059
commit 426c695b47
4 changed files with 123 additions and 0 deletions

35
Cargo.lock generated
View File

@@ -128,6 +128,24 @@ dependencies = [
"syn",
]
[[package]]
name = "actix-multipart"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "774bfeb11b54bf9c857a005b8ab893293da4eaff79261a66a9200dab7f5ab6e3"
dependencies = [
"actix-service",
"actix-utils 2.0.0",
"actix-web",
"bytes",
"derive_more",
"futures-util",
"httparse",
"log",
"mime",
"twoway",
]
[[package]]
name = "actix-router"
version = "0.2.4"
@@ -1097,6 +1115,7 @@ name = "image-api"
version = "0.1.0"
dependencies = [
"actix-files",
"actix-multipart",
"actix-rt",
"actix-web",
"bcrypt",
@@ -2202,12 +2221,28 @@ dependencies = [
"trust-dns-proto",
]
[[package]]
name = "twoway"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6b40075910de3a912adbd80b5d8bad6ad10a23eeb1f5bf9d4006839e899ba5bc"
dependencies = [
"memchr",
"unchecked-index",
]
[[package]]
name = "typenum"
version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33"
[[package]]
name = "unchecked-index"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eeba86d422ce181a719445e51872fa30f1f7413b62becb52e95ec91aa262d85c"
[[package]]
name = "unicase"
version = "2.6.0"