Skip to content

Commit

Permalink
feat(api): add multipart feature for Axum package
Browse files Browse the repository at this point in the history
We are migrating the API to Axum. We need the `multipart` feature to
handle the upload torrent file POST.
  • Loading branch information
josecelano committed Jun 15, 2023
1 parent 619cc33 commit d7f1e34
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ text-to-png = "0.2"
indexmap = "1.9"
thiserror = "1.0"
binascii = "0.1"
axum = "0.6.18"
axum = { version = "0.6.18", features = ["multipart"]}
hyper = "0.14.26"
tower-http = { version = "0.4.0", features = ["cors"]}

Expand Down

0 comments on commit d7f1e34

Please sign in to comment.