aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-10 15:50:51 -0700
committerFuwn <[email protected]>2021-05-10 15:55:30 -0700
commitc9e1bc37faf2e4d15bf9a9aa18a5f483d9235518 (patch)
tree7cc25b93f1a46f3bd4da1b1ae650c217f9c403b7 /Cargo.toml
parentMerge pull request #16 from Whirlsplash/renovate/commitizen-4.x (diff)
downloadwhirl-c9e1bc37faf2e4d15bf9a9aa18a5f483d9235518.tar.xz
whirl-c9e1bc37faf2e4d15bf9a9aa18a5f483d9235518.zip
perf(api): use actix_web instead of rocket for api
Refactors API for Actix, also enables CORS. BREAKING CHANGE: `whirlsplash.port.api` configuration key created. closes #20
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index aef6dca..a1c1f7b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -50,8 +50,8 @@ libsqlite3-sys = { version = "0.9.1", features = ["bundled"] }
diesel = { version = "1.4.6", features = ["sqlite"] }
# Web-server
-rocket = "0.4.7"
-rocket_contrib = "0.4.7"
+actix-web = { version = "3.3.2", features = ["rustls"] }
+actix-cors = "0.5.4"
#[dev-dependencies]
#diesel_cli = { version = "1.4.1", default-features = false, features = ["sqlite-bundled"] }