From 3bb11086864b70c82ab7f62a7c55e287c66a726d Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 Date: Wed, 20 Dec 2023 14:11:58 +0000 Subject: [PATCH] Prevent crates that shouldn't be published from being published (#4309) * Prevent crates that shouldn't be published from being published * Make dependent crates publishable * Make dependent crates publishable * fix toml formatting * Removing publish=true * Removing versioned deps. --------- Co-authored-by: SleeplessOne1917 Co-authored-by: Dessalines --- Cargo.toml | 1 + crates/api/Cargo.toml | 1 + crates/api_crud/Cargo.toml | 1 + crates/apub/Cargo.toml | 1 + crates/federate/Cargo.toml | 1 + crates/routes/Cargo.toml | 1 + docker/docker-compose.yml | 2 +- docker/federation/docker-compose.yml | 2 +- 8 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 38dabdc4e..a2cb87ff9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,6 @@ [workspace.package] version = "0.19.1-rc.2" +publish = false edition = "2021" description = "A link aggregator for the fediverse" license = "AGPL-3.0" diff --git a/crates/api/Cargo.toml b/crates/api/Cargo.toml index 6327e45fd..f22c9192a 100644 --- a/crates/api/Cargo.toml +++ b/crates/api/Cargo.toml @@ -1,5 +1,6 @@ [package] name = "lemmy_api" +publish = false version.workspace = true edition.workspace = true description.workspace = true diff --git a/crates/api_crud/Cargo.toml b/crates/api_crud/Cargo.toml index ea7c81399..f4f89c2e5 100644 --- a/crates/api_crud/Cargo.toml +++ b/crates/api_crud/Cargo.toml @@ -1,5 +1,6 @@ [package] name = "lemmy_api_crud" +publish = false version.workspace = true edition.workspace = true description.workspace = true diff --git a/crates/apub/Cargo.toml b/crates/apub/Cargo.toml index d0e226aa4..82f9812e6 100644 --- a/crates/apub/Cargo.toml +++ b/crates/apub/Cargo.toml @@ -1,5 +1,6 @@ [package] name = "lemmy_apub" +publish = false version.workspace = true edition.workspace = true description.workspace = true diff --git a/crates/federate/Cargo.toml b/crates/federate/Cargo.toml index 38a0e1433..9ccd8adc3 100644 --- a/crates/federate/Cargo.toml +++ b/crates/federate/Cargo.toml @@ -1,5 +1,6 @@ [package] name = "lemmy_federate" +publish = false version.workspace = true edition.workspace = true description.workspace = true diff --git a/crates/routes/Cargo.toml b/crates/routes/Cargo.toml index 40fa2ab01..82c786576 100644 --- a/crates/routes/Cargo.toml +++ b/crates/routes/Cargo.toml @@ -1,5 +1,6 @@ [package] name = "lemmy_routes" +publish = false version.workspace = true edition.workspace = true description.workspace = true diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 4c1a67411..eb81766cc 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -77,7 +77,7 @@ services: init: true pictrs: - image: asonix/pictrs:0.4.0-beta.19 + image: asonix/pictrs:0.5.0-rc.2 # this needs to match the pictrs url in lemmy.hjson hostname: pictrs # we can set options to pictrs like this, here we set max. image size and forced format for conversion diff --git a/docker/federation/docker-compose.yml b/docker/federation/docker-compose.yml index 6e0e7f2d2..a8c6160df 100644 --- a/docker/federation/docker-compose.yml +++ b/docker/federation/docker-compose.yml @@ -49,7 +49,7 @@ services: pictrs: restart: always - image: asonix/pictrs:0.4.0-beta.19 + image: asonix/pictrs:0.5.0-rc.2 user: 991:991 volumes: - ./volumes/pictrs_alpha:/mnt:Z