diff options
| author | Fuwn <[email protected]> | 2021-05-03 16:20:45 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-03 16:20:45 +0000 |
| commit | 262d59d7b3bcfda94d333d1acc8ed1a505df1c0f (patch) | |
| tree | 4fdcc0ae5df1bf4c0713eeb7d4bf712c812c3ec7 /Cargo.toml | |
| parent | docs(readme): add development prerequisites (diff) | |
| download | whirl-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.toml | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |