From: Dessalines Date: Thu, 21 Oct 2021 17:26:01 +0000 (-0400) Subject: Trying out rust-musl-builder for cargo publish (#1856) X-Git-Url: http://these/git/%22https:/nerdica.net/photo/contact/80/README.md?a=commitdiff_plain;h=23731cd49c96ceedc1499c35f3081ed778994ea0;p=lemmy.git Trying out rust-musl-builder for cargo publish (#1856) * Trying out rust-musl-builder for cargo publish * Version 0.13.5-rc.1 * Try rust:nightly * Version 0.13.5-rc.2 * Try rust slim * Version 0.13.5-rc.3 * Try rust 1.51 * Version 0.13.5-rc.4 * Trying another nightly * Version 0.13.5-rc.5 * Trying another fix * Version 0.13.5-rc.6 --- diff --git a/.drone.yml b/.drone.yml index cd3f58a7..a4b08e54 100644 --- a/.drone.yml +++ b/.drone.yml @@ -128,13 +128,13 @@ steps: # using https://github.com/pksunkara/cargo-workspaces - name: publish to crates.io - image: rust:1 + image: rustlang/rust:nightly environment: CARGO_TOKEN: from_secret: cargo_api_token commands: - cargo install cargo-workspaces - - cp -r migrations crates/db_queries/ + - cp -r migrations crates/db_schema/ - cargo login "$CARGO_TOKEN" - cargo workspaces publish --from-git --allow-dirty --allow-branch "${DRONE_TAG}" --yes custom "${DRONE_TAG}" when: diff --git a/Cargo.lock b/Cargo.lock index ba4e7385..9a18ffac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1707,7 +1707,7 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "lemmy_api" -version = "0.13.0" +version = "0.13.5-rc.6" dependencies = [ "actix", "actix-rt", @@ -1751,7 +1751,7 @@ dependencies = [ [[package]] name = "lemmy_api_common" -version = "0.13.0" +version = "0.13.5-rc.6" dependencies = [ "actix-web", "chrono", @@ -1769,7 +1769,7 @@ dependencies = [ [[package]] name = "lemmy_api_crud" -version = "0.13.0" +version = "0.13.5-rc.6" dependencies = [ "actix", "actix-rt", @@ -1814,7 +1814,7 @@ dependencies = [ [[package]] name = "lemmy_apub" -version = "0.13.0" +version = "0.13.5-rc.6" dependencies = [ "activitystreams", "actix", @@ -1859,7 +1859,7 @@ dependencies = [ [[package]] name = "lemmy_apub_lib" -version = "0.13.0" +version = "0.13.5-rc.6" dependencies = [ "activitystreams", "actix-web", @@ -1884,7 +1884,7 @@ dependencies = [ [[package]] name = "lemmy_apub_lib_derive" -version = "0.13.0" +version = "0.13.5-rc.6" dependencies = [ "proc-macro2 1.0.29", "quote 1.0.10", @@ -1894,7 +1894,7 @@ dependencies = [ [[package]] name = "lemmy_db_schema" -version = "0.13.0" +version = "0.13.5-rc.6" dependencies = [ "bcrypt", "chrono", @@ -1916,7 +1916,7 @@ dependencies = [ [[package]] name = "lemmy_db_views" -version = "0.13.0" +version = "0.13.5-rc.6" dependencies = [ "diesel", "lemmy_db_schema", @@ -1928,7 +1928,7 @@ dependencies = [ [[package]] name = "lemmy_db_views_actor" -version = "0.13.0" +version = "0.13.5-rc.6" dependencies = [ "diesel", "lemmy_db_schema", @@ -1937,7 +1937,7 @@ dependencies = [ [[package]] name = "lemmy_db_views_moderator" -version = "0.13.0" +version = "0.13.5-rc.6" dependencies = [ "diesel", "lemmy_db_schema", @@ -1946,7 +1946,7 @@ dependencies = [ [[package]] name = "lemmy_routes" -version = "0.13.0" +version = "0.13.5-rc.6" dependencies = [ "actix", "actix-http", @@ -1974,7 +1974,7 @@ dependencies = [ [[package]] name = "lemmy_server" -version = "0.13.0" +version = "0.13.5-rc.6" dependencies = [ "activitystreams", "actix", @@ -2013,7 +2013,7 @@ dependencies = [ [[package]] name = "lemmy_utils" -version = "0.13.0" +version = "0.13.5-rc.6" dependencies = [ "actix-rt", "actix-web", @@ -2049,7 +2049,7 @@ dependencies = [ [[package]] name = "lemmy_websocket" -version = "0.13.0" +version = "0.13.5-rc.6" dependencies = [ "actix", "actix-web", diff --git a/Cargo.toml b/Cargo.toml index 6b3d6048..42071b34 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lemmy_server" -version = "0.13.0" +version = "0.13.5-rc.6" edition = "2018" description = "A link aggregator for the fediverse" license = "AGPL-3.0" @@ -31,18 +31,18 @@ members = [ ] [dependencies] -lemmy_api = { version = "=0.13.0", path = "./crates/api" } -lemmy_api_crud = { version = "=0.13.0", path = "./crates/api_crud" } -lemmy_apub = { version = "=0.13.0", path = "./crates/apub" } -lemmy_apub_lib = { version = "=0.13.0", path = "./crates/apub_lib" } -lemmy_utils = { version = "=0.13.0", path = "./crates/utils" } -lemmy_db_schema = { version = "=0.13.0", path = "./crates/db_schema" } -lemmy_db_views = { version = "=0.13.0", path = "./crates/db_views" } -lemmy_db_views_moderator = { version = "=0.13.0", path = "./crates/db_views_moderator" } -lemmy_db_views_actor = { version = "=0.13.0", path = "./crates/db_views_actor" } -lemmy_api_common = { version = "=0.13.0", path = "crates/api_common" } -lemmy_websocket = { version = "=0.13.0", path = "./crates/websocket" } -lemmy_routes = { version = "=0.13.0", path = "./crates/routes" } +lemmy_api = { version = "=0.13.5-rc.6", path = "./crates/api" } +lemmy_api_crud = { version = "=0.13.5-rc.6", path = "./crates/api_crud" } +lemmy_apub = { version = "=0.13.5-rc.6", path = "./crates/apub" } +lemmy_apub_lib = { version = "=0.13.5-rc.6", path = "./crates/apub_lib" } +lemmy_utils = { version = "=0.13.5-rc.6", path = "./crates/utils" } +lemmy_db_schema = { version = "=0.13.5-rc.6", path = "./crates/db_schema" } +lemmy_db_views = { version = "=0.13.5-rc.6", path = "./crates/db_views" } +lemmy_db_views_moderator = { version = "=0.13.5-rc.6", path = "./crates/db_views_moderator" } +lemmy_db_views_actor = { version = "=0.13.5-rc.6", path = "./crates/db_views_actor" } +lemmy_api_common = { version = "=0.13.5-rc.6", path = "crates/api_common" } +lemmy_websocket = { version = "=0.13.5-rc.6", path = "./crates/websocket" } +lemmy_routes = { version = "=0.13.5-rc.6", path = "./crates/routes" } diesel = "1.4.8" diesel_migrations = "1.4.0" chrono = { version = "0.4.19", features = ["serde"] } diff --git a/crates/api/Cargo.toml b/crates/api/Cargo.toml index 8d389308..505582a7 100644 --- a/crates/api/Cargo.toml +++ b/crates/api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lemmy_api" -version = "0.13.0" +version = "0.13.5-rc.6" edition = "2018" description = "A link aggregator for the fediverse" license = "AGPL-3.0" @@ -13,14 +13,14 @@ path = "src/lib.rs" doctest = false [dependencies] -lemmy_apub = { version = "=0.13.0", path = "../apub" } -lemmy_utils = { version = "=0.13.0", path = "../utils" } -lemmy_db_schema = { version = "=0.13.0", path = "../db_schema" } -lemmy_db_views = { version = "=0.13.0", path = "../db_views" } -lemmy_db_views_moderator = { version = "=0.13.0", path = "../db_views_moderator" } -lemmy_db_views_actor = { version = "=0.13.0", path = "../db_views_actor" } -lemmy_api_common = { version = "=0.13.0", path = "../api_common" } -lemmy_websocket = { version = "=0.13.0", path = "../websocket" } +lemmy_apub = { version = "=0.13.5-rc.6", path = "../apub" } +lemmy_utils = { version = "=0.13.5-rc.6", path = "../utils" } +lemmy_db_schema = { version = "=0.13.5-rc.6", path = "../db_schema" } +lemmy_db_views = { version = "=0.13.5-rc.6", path = "../db_views" } +lemmy_db_views_moderator = { version = "=0.13.5-rc.6", path = "../db_views_moderator" } +lemmy_db_views_actor = { version = "=0.13.5-rc.6", path = "../db_views_actor" } +lemmy_api_common = { version = "=0.13.5-rc.6", path = "../api_common" } +lemmy_websocket = { version = "=0.13.5-rc.6", path = "../websocket" } diesel = "1.4.8" bcrypt = "0.10.1" chrono = { version = "0.4.19", features = ["serde"] } diff --git a/crates/api_common/Cargo.toml b/crates/api_common/Cargo.toml index 5672b583..eddfb818 100644 --- a/crates/api_common/Cargo.toml +++ b/crates/api_common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lemmy_api_common" -version = "0.13.0" +version = "0.13.5-rc.6" edition = "2018" description = "A link aggregator for the fediverse" license = "AGPL-3.0" @@ -13,11 +13,11 @@ path = "src/lib.rs" doctest = false [dependencies] -lemmy_db_views = { version = "=0.13.0", path = "../db_views" } -lemmy_db_views_moderator = { version = "=0.13.0", path = "../db_views_moderator" } -lemmy_db_views_actor = { version = "=0.13.0", path = "../db_views_actor" } -lemmy_db_schema = { version = "=0.13.0", path = "../db_schema" } -lemmy_utils = { version = "=0.13.0", path = "../utils" } +lemmy_db_views = { version = "=0.13.5-rc.6", path = "../db_views" } +lemmy_db_views_moderator = { version = "=0.13.5-rc.6", path = "../db_views_moderator" } +lemmy_db_views_actor = { version = "=0.13.5-rc.6", path = "../db_views_actor" } +lemmy_db_schema = { version = "=0.13.5-rc.6", path = "../db_schema" } +lemmy_utils = { version = "=0.13.5-rc.6", path = "../utils" } serde = { version = "1.0.130", features = ["derive"] } log = "0.4.14" diesel = "1.4.8" diff --git a/crates/api_crud/Cargo.toml b/crates/api_crud/Cargo.toml index c73591e3..d1782d3e 100644 --- a/crates/api_crud/Cargo.toml +++ b/crates/api_crud/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lemmy_api_crud" -version = "0.13.0" +version = "0.13.5-rc.6" edition = "2018" description = "A link aggregator for the fediverse" license = "AGPL-3.0" @@ -8,15 +8,15 @@ homepage = "https://join-lemmy.org/" documentation = "https://join-lemmy.org/docs/en/index.html" [dependencies] -lemmy_apub = { version = "=0.13.0", path = "../apub" } -lemmy_apub_lib = { version = "=0.13.0", path = "../apub_lib" } -lemmy_utils = { version = "=0.13.0", path = "../utils" } -lemmy_db_schema = { version = "=0.13.0", path = "../db_schema" } -lemmy_db_views = { version = "=0.13.0", path = "../db_views" } -lemmy_db_views_moderator = { version = "=0.13.0", path = "../db_views_moderator" } -lemmy_db_views_actor = { version = "=0.13.0", path = "../db_views_actor" } -lemmy_api_common = { version = "=0.13.0", path = "../api_common" } -lemmy_websocket = { version = "=0.13.0", path = "../websocket" } +lemmy_apub = { version = "=0.13.5-rc.6", path = "../apub" } +lemmy_apub_lib = { version = "=0.13.5-rc.6", path = "../apub_lib" } +lemmy_utils = { version = "=0.13.5-rc.6", path = "../utils" } +lemmy_db_schema = { version = "=0.13.5-rc.6", path = "../db_schema" } +lemmy_db_views = { version = "=0.13.5-rc.6", path = "../db_views" } +lemmy_db_views_moderator = { version = "=0.13.5-rc.6", path = "../db_views_moderator" } +lemmy_db_views_actor = { version = "=0.13.5-rc.6", path = "../db_views_actor" } +lemmy_api_common = { version = "=0.13.5-rc.6", path = "../api_common" } +lemmy_websocket = { version = "=0.13.5-rc.6", path = "../websocket" } diesel = "1.4.8" bcrypt = "0.10.1" chrono = { version = "0.4.19", features = ["serde"] } diff --git a/crates/apub/Cargo.toml b/crates/apub/Cargo.toml index 260bed1c..af07664f 100644 --- a/crates/apub/Cargo.toml +++ b/crates/apub/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lemmy_apub" -version = "0.13.0" +version = "0.13.5-rc.6" edition = "2018" description = "A link aggregator for the fediverse" license = "AGPL-3.0" @@ -13,13 +13,13 @@ path = "src/lib.rs" doctest = false [dependencies] -lemmy_utils = { version = "=0.13.0", path = "../utils" } -lemmy_apub_lib = { version = "=0.13.0", path = "../apub_lib" } -lemmy_db_schema = { version = "=0.13.0", path = "../db_schema" } -lemmy_db_views = { version = "=0.13.0", path = "../db_views" } -lemmy_db_views_actor = { version = "=0.13.0", path = "../db_views_actor" } -lemmy_api_common = { version = "=0.13.0", path = "../api_common" } -lemmy_websocket = { version = "=0.13.0", path = "../websocket" } +lemmy_utils = { version = "=0.13.5-rc.6", path = "../utils" } +lemmy_apub_lib = { version = "=0.13.5-rc.6", path = "../apub_lib" } +lemmy_db_schema = { version = "=0.13.5-rc.6", path = "../db_schema" } +lemmy_db_views = { version = "=0.13.5-rc.6", path = "../db_views" } +lemmy_db_views_actor = { version = "=0.13.5-rc.6", path = "../db_views_actor" } +lemmy_api_common = { version = "=0.13.5-rc.6", path = "../api_common" } +lemmy_websocket = { version = "=0.13.5-rc.6", path = "../websocket" } diesel = "1.4.8" activitystreams = "0.7.0-alpha.11" bcrypt = "0.10.1" diff --git a/crates/apub_lib/Cargo.toml b/crates/apub_lib/Cargo.toml index 1645d82a..f5f8e6ed 100644 --- a/crates/apub_lib/Cargo.toml +++ b/crates/apub_lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lemmy_apub_lib" -version = "0.13.0" +version = "0.13.5-rc.6" edition = "2018" description = "A link aggregator for the fediverse" license = "AGPL-3.0" @@ -8,8 +8,8 @@ homepage = "https://join-lemmy.org/" documentation = "https://join-lemmy.org/docs/en/index.html" [dependencies] -lemmy_utils = { version = "=0.13.0", path = "../utils" } -lemmy_apub_lib_derive = { version = "=0.13.0", path = "../apub_lib_derive" } +lemmy_utils = { version = "=0.13.5-rc.6", path = "../utils" } +lemmy_apub_lib_derive = { version = "=0.13.5-rc.6", path = "../apub_lib_derive" } activitystreams = "0.7.0-alpha.11" serde = { version = "1.0.130", features = ["derive"] } async-trait = "0.1.51" diff --git a/crates/apub_lib_derive/Cargo.toml b/crates/apub_lib_derive/Cargo.toml index 2dd7ff9b..30ca237a 100644 --- a/crates/apub_lib_derive/Cargo.toml +++ b/crates/apub_lib_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lemmy_apub_lib_derive" -version = "0.13.0" +version = "0.13.5-rc.6" edition = "2018" description = "A link aggregator for the fediverse" license = "AGPL-3.0" diff --git a/crates/db_schema/Cargo.toml b/crates/db_schema/Cargo.toml index dc53d82b..c62abe45 100644 --- a/crates/db_schema/Cargo.toml +++ b/crates/db_schema/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lemmy_db_schema" -version = "0.13.0" +version = "0.13.5-rc.6" edition = "2018" description = "A link aggregator for the fediverse" license = "AGPL-3.0" @@ -11,7 +11,7 @@ documentation = "https://join-lemmy.org/docs/en/index.html" doctest = false [dependencies] -lemmy_utils = { version = "=0.13.0", path = "../utils" } +lemmy_utils = { version = "=0.13.5-rc.6", path = "../utils" } diesel = { version = "1.4.8", features = ["postgres","chrono","r2d2","serde_json"] } diesel_migrations = "1.4.0" chrono = { version = "0.4.19", features = ["serde"] } diff --git a/crates/db_views/Cargo.toml b/crates/db_views/Cargo.toml index fbea1987..66c1d0f4 100644 --- a/crates/db_views/Cargo.toml +++ b/crates/db_views/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lemmy_db_views" -version = "0.13.0" +version = "0.13.5-rc.6" edition = "2018" description = "A link aggregator for the fediverse" license = "AGPL-3.0" @@ -11,7 +11,7 @@ documentation = "https://join-lemmy.org/docs/en/index.html" doctest = false [dependencies] -lemmy_db_schema = { version = "=0.13.0", path = "../db_schema" } +lemmy_db_schema = { version = "=0.13.5-rc.6", path = "../db_schema" } diesel = { version = "1.4.8", features = ["postgres","chrono","r2d2","serde_json"] } serde = { version = "1.0.130", features = ["derive"] } log = "0.4.14" diff --git a/crates/db_views_actor/Cargo.toml b/crates/db_views_actor/Cargo.toml index ced1e8a2..85c043a5 100644 --- a/crates/db_views_actor/Cargo.toml +++ b/crates/db_views_actor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lemmy_db_views_actor" -version = "0.13.0" +version = "0.13.5-rc.6" edition = "2018" description = "A link aggregator for the fediverse" license = "AGPL-3.0" @@ -11,6 +11,6 @@ documentation = "https://join-lemmy.org/docs/en/index.html" doctest = false [dependencies] -lemmy_db_schema = { version = "=0.13.0", path = "../db_schema" } +lemmy_db_schema = { version = "=0.13.5-rc.6", path = "../db_schema" } diesel = { version = "1.4.8", features = ["postgres","chrono","r2d2","serde_json"] } serde = { version = "1.0.130", features = ["derive"] } diff --git a/crates/db_views_moderator/Cargo.toml b/crates/db_views_moderator/Cargo.toml index 3a0b707c..3910857a 100644 --- a/crates/db_views_moderator/Cargo.toml +++ b/crates/db_views_moderator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lemmy_db_views_moderator" -version = "0.13.0" +version = "0.13.5-rc.6" edition = "2018" description = "A link aggregator for the fediverse" license = "AGPL-3.0" @@ -11,6 +11,6 @@ documentation = "https://join-lemmy.org/docs/en/index.html" doctest = false [dependencies] -lemmy_db_schema = { version = "=0.13.0", path = "../db_schema" } +lemmy_db_schema = { version = "=0.13.5-rc.6", path = "../db_schema" } diesel = { version = "1.4.8", features = ["postgres","chrono","r2d2","serde_json"] } serde = { version = "1.0.130", features = ["derive"] } diff --git a/crates/routes/Cargo.toml b/crates/routes/Cargo.toml index 65dcb8cd..c6415e8b 100644 --- a/crates/routes/Cargo.toml +++ b/crates/routes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lemmy_routes" -version = "0.13.0" +version = "0.13.5-rc.6" edition = "2018" description = "A link aggregator for the fediverse" license = "AGPL-3.0" @@ -11,13 +11,13 @@ documentation = "https://join-lemmy.org/docs/en/index.html" doctest = false [dependencies] -lemmy_utils = { version = "=0.13.0", path = "../utils" } -lemmy_websocket = { version = "=0.13.0", path = "../websocket" } -lemmy_db_views = { version = "=0.13.0", path = "../db_views" } -lemmy_db_views_actor = { version = "=0.13.0", path = "../db_views_actor" } -lemmy_db_schema = { version = "=0.13.0", path = "../db_schema" } -lemmy_api_common = { version = "=0.13.0", path = "../api_common" } -lemmy_apub_lib = { version = "=0.13.0", path = "../apub_lib" } +lemmy_utils = { version = "=0.13.5-rc.6", path = "../utils" } +lemmy_websocket = { version = "=0.13.5-rc.6", path = "../websocket" } +lemmy_db_views = { version = "=0.13.5-rc.6", path = "../db_views" } +lemmy_db_views_actor = { version = "=0.13.5-rc.6", path = "../db_views_actor" } +lemmy_db_schema = { version = "=0.13.5-rc.6", path = "../db_schema" } +lemmy_api_common = { version = "=0.13.5-rc.6", path = "../api_common" } +lemmy_apub_lib = { version = "=0.13.5-rc.6", path = "../apub_lib" } diesel = "1.4.8" actix = "0.12.0" actix-web = { version = "4.0.0-beta.9", default-features = false, features = ["rustls"] } diff --git a/crates/utils/Cargo.toml b/crates/utils/Cargo.toml index 521c50a3..19efdeaf 100644 --- a/crates/utils/Cargo.toml +++ b/crates/utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lemmy_utils" -version = "0.13.0" +version = "0.13.5-rc.6" edition = "2018" description = "A link aggregator for the fediverse" license = "AGPL-3.0" diff --git a/crates/websocket/Cargo.toml b/crates/websocket/Cargo.toml index c7d5f3a6..21ab3b62 100644 --- a/crates/websocket/Cargo.toml +++ b/crates/websocket/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lemmy_websocket" -version = "0.13.0" +version = "0.13.5-rc.6" edition = "2018" description = "A link aggregator for the fediverse" license = "AGPL-3.0" @@ -13,11 +13,11 @@ path = "src/lib.rs" doctest = false [dependencies] -lemmy_utils = { version = "=0.13.0", path = "../utils" } -lemmy_api_common = { version = "=0.13.0", path = "../api_common" } -lemmy_db_schema = { version = "=0.13.0", path = "../db_schema" } -lemmy_db_views = { version = "=0.13.0", path = "../db_views" } -lemmy_db_views_actor = { version = "=0.13.0", path = "../db_views_actor" } +lemmy_utils = { version = "=0.13.5-rc.6", path = "../utils" } +lemmy_api_common = { version = "=0.13.5-rc.6", path = "../api_common" } +lemmy_db_schema = { version = "=0.13.5-rc.6", path = "../db_schema" } +lemmy_db_views = { version = "=0.13.5-rc.6", path = "../db_views" } +lemmy_db_views_actor = { version = "=0.13.5-rc.6", path = "../db_views_actor" } reqwest = { version = "0.11.4", features = ["json"] } log = "0.4.14" rand = "0.8.4"