X-Git-Url: http://git.euphorik.ch/?p=rup.git;a=blobdiff_plain;f=backend%2FCargo.toml;fp=backend%2FCargo.toml;h=27b8ad684e7c138383c0b6d899c31dcdd850fd86;hp=9b3574f2ce73c6dca5cfa7e4c4cf38618f93eb5a;hb=4a1fa0b902bd01c2630b8b7b0818e46142d93f94;hpb=3a070ca2a63491b4d714643ae550b09773660c1e diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 9b3574f..27b8ad6 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -8,7 +8,6 @@ edition = "2018" actix-web = "2.0" actix-rt = "1.1" actix-files = "0.2" -askama = "0.10" # Template system serde = { version = "1.0", features = ["derive"] } openssl = "0.10" @@ -20,6 +19,22 @@ percent-encoding = "2.1" base64 = "0.12" rand = "0.7" +r2d2_sqlite = "0.15" # 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.22" +features = ["bundled"] + +# Template system. +[dependencies.askama] +version = "0.9" +features = ["with-actix-web"] + [profile.release] codegen-units = 1 lto = true