X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=backend%2FCargo.toml;h=7af3811dbd7f95097f2c6c86293c1eba38a4888d;hb=108476e3554ea3a25dca5b5ab260f38c1e734221;hp=3158b88a691f1f4ade702a403d3843401dd70ee6;hpb=17ba6f86d25d65ed710870615cfe9e3df6d46883;p=recipes.git diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 3158b88..7af3811 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -2,20 +2,26 @@ name = "recipes" version = "1.0.0" authors = ["Grégory Burri "] -edition = "2018" +edition = "2021" [dependencies] -actix-web = "1.0" -actix-files = "0.1" -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.6" +actix-web = "4" +actix-files = "0.6" +serde = { version = "1.0", features = [ "derive" ] } + +ron = "0.8" # Rust object notation, to load configuration files. +itertools = "0.10" + +env_logger = "0.9" + +r2d2_sqlite = "0.21" # 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.20" -features = ["bundled"] \ No newline at end of file +askama = { version = "0.11", features = ["with-actix-web", "mime", "mime_guess"] } +askama_actix = "0.13" + +rusqlite = { version = "0.28", features = ["bundled"] }