aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-03 16:20:45 +0000
committerFuwn <[email protected]>2021-05-03 16:20:45 +0000
commit262d59d7b3bcfda94d333d1acc8ed1a505df1c0f (patch)
tree4fdcc0ae5df1bf4c0713eeb7d4bf712c812c3ec7 /Cargo.toml
parentdocs(readme): add development prerequisites (diff)
downloadwhirl-262d59d7b3bcfda94d333d1acc8ed1a505df1c0f.tar.xz
whirl-262d59d7b3bcfda94d333d1acc8ed1a505df1c0f.zip
feat(db): use diesel instead of sqlx, implement database tests
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 3 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 79b1aed..92ed9ca 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -46,12 +46,13 @@ tokio-util = { version = "0.6.6", features = ["codec"] }
tokio-stream = "0.1.5"
# Database
-sqlx = { version = "0.5.2", features = ["runtime-async-std-rustls", "sqlite", "macros", "migrate", "chrono", "time", "tls"] }
+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"
[dev-dependencies]
-#sqlx-cli = "0.5.2"
+#diesel_cli = { version = "1.4.1", default-features = false, features = ["sqlite-bundled"] }
#cargo-watch = "7.8.0" # Optional