Skip to content

Commit

Permalink
feat(api): [torrust#174] new cargo dependencies: axum, hyper
Browse files Browse the repository at this point in the history
We decided to migrate from Actix Web to Axum. The main reason was we are
also using Axum on the Tracker and it will be easier for us to mantain
only one framework. And apparently there are no drawbacks.

This commit adds the new dependencies.
  • Loading branch information
josecelano committed Jun 6, 2023
1 parent ba1c37c commit 7347fee
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 0 deletions.
100 changes: 100 additions & 0 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ text-to-png = "0.2"
indexmap = "1.9"
thiserror = "1.0"
binascii = "0.1"
axum = "0.6.18"
hyper = "0.14.26"

[dev-dependencies]
rand = "0.8"
Expand Down

0 comments on commit 7347fee

Please sign in to comment.