X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=backend%2FCargo.toml;h=371b0ed7a0d1761a23560bed0b70371e81fae38b;hb=aedfae1d17d2fd39b3b1f4889723d627fcc79218;hp=64f90f7bca46fa1cfc019b7f34194091f3b21e2c;hpb=a080d19cb9076780db9e86325b2ab617886e2a5f;p=recipes.git diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 64f90f7..371b0ed 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -2,29 +2,33 @@ name = "recipes" version = "1.0.0" authors = ["Grégory Burri "] -edition = "2018" +edition = "2021" [dependencies] -actix-web = "2" -actix-rt = "1" -actix-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). -ron = "0.6" # Rust object notation, to load configuration files. -itertools = "0.9" - -r2d2_sqlite = "0.16" # Connection pool with rusqlite (SQLite access). +#common = {path = "../common"} + +actix-web = "4" +actix-files = "0.6" +serde = {version = "1.0", features = ["derive"]} + +chrono = "0.4" + +ron = "0.8" # Rust object notation, to load configuration files. +itertools = "0.10" +clap = {version = "4", features = ["derive"]} + +env_logger = "0.9" + +r2d2_sqlite = "0.21" # Connection pool with rusqlite (SQLite access). r2d2 = "0.8" +rusqlite = {version = "0.28", features = ["bundled", "chrono"]} futures = "0.3" # Needed by askam with the feature 'with-actix-web'. -common = { path = "../common" } +askama = {version = "0.11", features = ["with-actix-web", "mime", "mime_guess"]} +askama_actix = "0.13" -[dependencies.rusqlite] -version = "0.23" -features = ["bundled"] +argon2 = {version = "0.4", features = ["default", "std"]} +rand_core = {version = "0.6", features = ["std"]} -# Template system. -[dependencies.askama] -version = "0.9" -features = ["with-actix-web"] +rand = "0.8" \ No newline at end of file