diff options
| author | Fuwn <[email protected]> | 2021-08-04 16:05:42 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-08-04 16:05:42 -0700 |
| commit | a8063b0cc5f4eec4710081cbb0679a78f5b601bc (patch) | |
| tree | 6fc87e74234e2f4a324fe55d0d81343307344d3d /crates/whirl_api/Cargo.toml | |
| parent | fix(whirl): signal handling not working (diff) | |
| download | whirl-a8063b0cc5f4eec4710081cbb0679a78f5b601bc.tar.xz whirl-a8063b0cc5f4eec4710081cbb0679a78f5b601bc.zip | |
refactor(whirl_api): migrate to Axum
The Tokio group recently released a new web-framework called Axum, and being that almost every
aspect of Whirl harnesses Tokio's pre-existing libraries; I think it's more fitting to migrate the
web-server over to a Tokio-based one as well!
Diffstat (limited to 'crates/whirl_api/Cargo.toml')
| -rw-r--r-- | crates/whirl_api/Cargo.toml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/whirl_api/Cargo.toml b/crates/whirl_api/Cargo.toml index c0a3512..afaa653 100644 --- a/crates/whirl_api/Cargo.toml +++ b/crates/whirl_api/Cargo.toml @@ -16,6 +16,8 @@ publish = false # Web-server actix-web = { version = "3.3.2", features = ["rustls"] } actix-cors = "0.5.4" +axum = "0.1.2" +hyper = "0.14.11" # Utility sysinfo = "0.19.2" |