X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=backend%2FCargo.toml;h=64f90f7bca46fa1cfc019b7f34194091f3b21e2c;hb=a080d19cb9076780db9e86325b2ab617886e2a5f;hp=7f7e2e164347570f3a05ac21f6feba56cd54789a;hpb=eab43f8995eff5b8a4f6c4ded6a655866feddedb;p=recipes.git diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 7f7e2e1..64f90f7 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -5,18 +5,26 @@ authors = ["Grégory Burri "] edition = "2018" [dependencies] -actix-web = "2.0" -actix-rt = "1.0" +actix-web = "2" +actix-rt = "1" actix-files = "0.2" -askama = "0.8" # Template system 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" -env_logger = "0.7" +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" } [dependencies.rusqlite] -version = "0.21" -features = ["bundled"] \ No newline at end of file +version = "0.23" +features = ["bundled"] + +# Template system. +[dependencies.askama] +version = "0.9" +features = ["with-actix-web"]