aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-03 16:20:45 -0700
committerFuwn <[email protected]>2021-05-03 16:20:45 -0700
commit0b4299ac3b897c11877d1936641248747742413c (patch)
tree1a22a2388562ff38bf2dd9eac55842a530def760 /Cargo.toml
parentdocs(readme): add development prerequisites (diff)
downloadwhirl-0b4299ac3b897c11877d1936641248747742413c.tar.xz
whirl-0b4299ac3b897c11877d1936641248747742413c.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 ded9009..d2d000c 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