projects
/
recipes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an error management in db module
[recipes.git]
/
backend
/
Cargo.toml
diff --git
a/backend/Cargo.toml
b/backend/Cargo.toml
index
d4ac849
..
64f90f7
100644
(file)
--- a/
backend/Cargo.toml
+++ b/
backend/Cargo.toml
@@
-5,14
+5,26
@@
authors = ["Grégory Burri <greg.burri@gmail.com>"]
edition = "2018"
[dependencies]
edition = "2018"
[dependencies]
-actix-web = "
1.0
"
-actix-
files = "0.
1"
-a
skama = "0.8" # Template system
+actix-web = "
2
"
+actix-
rt = "
1"
+a
ctix-files = "0.2"
serde = { version = "1.0", features = ["derive"] }
listenfd = "0.3" # To watch file modifications and automatically launch a build process (only used in dev/debug).
serde = { version = "1.0", features = ["derive"] }
listenfd = "0.3" # To watch file modifications and automatically launch a build process (only used in dev/debug).
-ron = "0.5" # Rust object notation, to load configuration files.
-itertools = "0.8"
-sqlite = "0.25"
-env_logger = "0.6"
+ron = "0.6" # Rust object notation, to load configuration files.
+itertools = "0.9"
+
+r2d2_sqlite = "0.16" # Connection pool with rusqlite (SQLite access).
+r2d2 = "0.8"
+
+futures = "0.3" # Needed by askam with the feature 'with-actix-web'.
common = { path = "../common" }
common = { path = "../common" }
+
+[dependencies.rusqlite]
+version = "0.23"
+features = ["bundled"]
+
+# Template system.
+[dependencies.askama]
+version = "0.9"
+features = ["with-actix-web"]