diff --git a/Cargo.lock b/Cargo.lock index f5db954e9..ecf44c79f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2871,7 +2871,7 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "lemmy_api" -version = "0.19.5-alpha.2" +version = "0.19.5-alpha.3" dependencies = [ "activitypub_federation", "actix-web", @@ -2900,7 +2900,7 @@ dependencies = [ [[package]] name = "lemmy_api_common" -version = "0.19.5-alpha.2" +version = "0.19.5-alpha.3" dependencies = [ "activitypub_federation", "actix-web", @@ -2938,7 +2938,7 @@ dependencies = [ [[package]] name = "lemmy_api_crud" -version = "0.19.5-alpha.2" +version = "0.19.5-alpha.3" dependencies = [ "accept-language", "activitypub_federation", @@ -2961,7 +2961,7 @@ dependencies = [ [[package]] name = "lemmy_apub" -version = "0.19.5-alpha.2" +version = "0.19.5-alpha.3" dependencies = [ "activitypub_federation", "actix-web", @@ -2999,7 +2999,7 @@ dependencies = [ [[package]] name = "lemmy_db_perf" -version = "0.19.5-alpha.2" +version = "0.19.5-alpha.3" dependencies = [ "anyhow", "clap", @@ -3014,7 +3014,7 @@ dependencies = [ [[package]] name = "lemmy_db_schema" -version = "0.19.5-alpha.2" +version = "0.19.5-alpha.3" dependencies = [ "activitypub_federation", "anyhow", @@ -3055,7 +3055,7 @@ dependencies = [ [[package]] name = "lemmy_db_views" -version = "0.19.5-alpha.2" +version = "0.19.5-alpha.3" dependencies = [ "actix-web", "chrono", @@ -3077,7 +3077,7 @@ dependencies = [ [[package]] name = "lemmy_db_views_actor" -version = "0.19.5-alpha.2" +version = "0.19.5-alpha.3" dependencies = [ "chrono", "diesel", @@ -3098,7 +3098,7 @@ dependencies = [ [[package]] name = "lemmy_db_views_moderator" -version = "0.19.5-alpha.2" +version = "0.19.5-alpha.3" dependencies = [ "diesel", "diesel-async", @@ -3110,7 +3110,7 @@ dependencies = [ [[package]] name = "lemmy_federate" -version = "0.19.5-alpha.2" +version = "0.19.5-alpha.3" dependencies = [ "activitypub_federation", "anyhow", @@ -3135,7 +3135,7 @@ dependencies = [ [[package]] name = "lemmy_routes" -version = "0.19.5-alpha.2" +version = "0.19.5-alpha.3" dependencies = [ "activitypub_federation", "actix-web", @@ -3160,7 +3160,7 @@ dependencies = [ [[package]] name = "lemmy_server" -version = "0.19.5-alpha.2" +version = "0.19.5-alpha.3" dependencies = [ "activitypub_federation", "actix-cors", @@ -3203,7 +3203,7 @@ dependencies = [ [[package]] name = "lemmy_utils" -version = "0.19.5-alpha.2" +version = "0.19.5-alpha.3" dependencies = [ "actix-web", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 32d31b6fb..3e947f178 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.19.5-alpha.2" +version = "0.19.5-alpha.3" edition = "2021" description = "A link aggregator for the fediverse" license = "AGPL-3.0" @@ -88,17 +88,17 @@ unused_self = "deny" unwrap_used = "deny" [workspace.dependencies] -lemmy_api = { version = "=0.19.5-alpha.2", path = "./crates/api" } -lemmy_api_crud = { version = "=0.19.5-alpha.2", path = "./crates/api_crud" } -lemmy_apub = { version = "=0.19.5-alpha.2", path = "./crates/apub" } -lemmy_utils = { version = "=0.19.5-alpha.2", path = "./crates/utils", default-features = false } -lemmy_db_schema = { version = "=0.19.5-alpha.2", path = "./crates/db_schema" } -lemmy_api_common = { version = "=0.19.5-alpha.2", path = "./crates/api_common" } -lemmy_routes = { version = "=0.19.5-alpha.2", path = "./crates/routes" } -lemmy_db_views = { version = "=0.19.5-alpha.2", path = "./crates/db_views" } -lemmy_db_views_actor = { version = "=0.19.5-alpha.2", path = "./crates/db_views_actor" } -lemmy_db_views_moderator = { version = "=0.19.5-alpha.2", path = "./crates/db_views_moderator" } -lemmy_federate = { version = "=0.19.5-alpha.2", path = "./crates/federate" } +lemmy_api = { version = "=0.19.5-alpha.3", path = "./crates/api" } +lemmy_api_crud = { version = "=0.19.5-alpha.3", path = "./crates/api_crud" } +lemmy_apub = { version = "=0.19.5-alpha.3", path = "./crates/apub" } +lemmy_utils = { version = "=0.19.5-alpha.3", path = "./crates/utils", default-features = false } +lemmy_db_schema = { version = "=0.19.5-alpha.3", path = "./crates/db_schema" } +lemmy_api_common = { version = "=0.19.5-alpha.3", path = "./crates/api_common" } +lemmy_routes = { version = "=0.19.5-alpha.3", path = "./crates/routes" } +lemmy_db_views = { version = "=0.19.5-alpha.3", path = "./crates/db_views" } +lemmy_db_views_actor = { version = "=0.19.5-alpha.3", path = "./crates/db_views_actor" } +lemmy_db_views_moderator = { version = "=0.19.5-alpha.3", path = "./crates/db_views_moderator" } +lemmy_federate = { version = "=0.19.5-alpha.3", path = "./crates/federate" } activitypub_federation = { version = "0.5.6", default-features = false, features = [ "actix-web", ] } diff --git a/crates/db_schema/src/utils.rs b/crates/db_schema/src/utils.rs index fdfe7504c..6761adeee 100644 --- a/crates/db_schema/src/utils.rs +++ b/crates/db_schema/src/utils.rs @@ -332,6 +332,10 @@ pub fn diesel_url_create(opt: Option<&str>) -> LemmyResult> { fn establish_connection(config: &str) -> BoxFuture> { let fut = async { + rustls::crypto::ring::default_provider() + .install_default() + .expect("Failed to install rustls crypto provider"); + let rustls_config = DangerousClientConfigBuilder { cfg: ClientConfig::builder(), }