]> Untitled Git - lemmy.git/blobdiff - Cargo.toml
Add support for sslmode=require for diesel-async DB connections (#3189)
[lemmy.git] / Cargo.toml
index a86252576b0669078c85bf8ade494e29892b9e51..2ee5a53084d00eb608e4e42625ce1cbc1385a584 100644 (file)
@@ -1,5 +1,5 @@
 [workspace.package]
-version = "0.18.0-rc.8"
+version = "0.18.0"
 edition = "2021"
 description = "A link aggregator for the fediverse"
 license = "AGPL-3.0"
@@ -49,16 +49,16 @@ members = [
 ]
 
 [workspace.dependencies]
-lemmy_api = { version = "=0.18.0-rc.8", path = "./crates/api" }
-lemmy_api_crud = { version = "=0.18.0-rc.8", path = "./crates/api_crud" }
-lemmy_apub = { version = "=0.18.0-rc.8", path = "./crates/apub" }
-lemmy_utils = { version = "=0.18.0-rc.8", path = "./crates/utils" }
-lemmy_db_schema = { version = "=0.18.0-rc.8", path = "./crates/db_schema" }
-lemmy_api_common = { version = "=0.18.0-rc.8", path = "./crates/api_common" }
-lemmy_routes = { version = "=0.18.0-rc.8", path = "./crates/routes" }
-lemmy_db_views = { version = "=0.18.0-rc.8", path = "./crates/db_views" }
-lemmy_db_views_actor = { version = "=0.18.0-rc.8", path = "./crates/db_views_actor" }
-lemmy_db_views_moderator = { version = "=0.18.0-rc.8", path = "./crates/db_views_moderator" }
+lemmy_api = { version = "=0.18.0", path = "./crates/api" }
+lemmy_api_crud = { version = "=0.18.0", path = "./crates/api_crud" }
+lemmy_apub = { version = "=0.18.0", path = "./crates/apub" }
+lemmy_utils = { version = "=0.18.0", path = "./crates/utils" }
+lemmy_db_schema = { version = "=0.18.0", path = "./crates/db_schema" }
+lemmy_api_common = { version = "=0.18.0", path = "./crates/api_common" }
+lemmy_routes = { version = "=0.18.0", path = "./crates/routes" }
+lemmy_db_views = { version = "=0.18.0", path = "./crates/db_views" }
+lemmy_db_views_actor = { version = "=0.18.0", path = "./crates/db_views_actor" }
+lemmy_db_views_moderator = { version = "=0.18.0", path = "./crates/db_views_moderator" }
 activitypub_federation = { version = "0.4.4", default-features = false, features = ["actix-web"] }
 diesel = "2.1.0"
 diesel_migrations = "2.1.0"
@@ -89,7 +89,7 @@ anyhow = "1.0.71"
 diesel_ltree = "0.3.0"
 typed-builder = "0.10.0"
 serial_test = "0.9.0"
-tokio = "1.28.2"
+tokio = { version = "1.28.2", features = ["full"] }
 sha2 = "0.10.6"
 regex = "1.8.4"
 once_cell = "1.18.0"
@@ -107,6 +107,10 @@ rand = "0.8.5"
 opentelemetry = { version = "0.17.0", features = ["rt-tokio"] }
 tracing-opentelemetry = { version = "0.17.4" }
 ts-rs = { version = "6.2", features = ["serde-compat", "format", "chrono-impl"] }
+rustls = { version ="0.21.2", features = ["dangerous_configuration"]}
+futures-util = "0.3.28"
+tokio-postgres = "0.7.8"
+tokio-postgres-rustls = "0.10.0"
 
 [dependencies]
 lemmy_api = { workspace = true }
@@ -140,3 +144,8 @@ opentelemetry-otlp = { version = "0.10.0", optional = true }
 pict-rs = { version = "0.4.0-rc.3", optional = true }
 tokio.workspace = true
 actix-cors = "0.6.4"
+rustls = { workspace = true }
+futures-util = { workspace = true }
+tokio-postgres = { workspace = true }
+tokio-postgres-rustls = { workspace = true }
+