Skip to content

Commit

Permalink
feat(api): [torrust#143] add new cargo dependency: axum-server
Browse files Browse the repository at this point in the history
The new API implementation uses Axum. Axum does not support SSL
configuration. The "axum-server" crate provides it.
  • Loading branch information
josecelano committed Jan 4, 2023
1 parent 1395945 commit af51f77
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
38 changes: 37 additions & 1 deletion Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ async-trait = "0.1"
aquatic_udp_protocol = "0.2"
uuid = { version = "1", features = ["v4"] }
axum = "0.6.1"
axum-server = { version = "0.4.4", features = ["tls-rustls"] }

[dev-dependencies]
mockall = "0.11"
Expand Down

0 comments on commit af51f77

Please sign in to comment.