enable sparse bundle

This commit is contained in:
Niccolo Borgioli 2023-05-26 00:21:50 +02:00
parent 063d073c27
commit f8223dfc62
No known key found for this signature in database
GPG Key ID: D93C615F75EE4F0B
4 changed files with 4 additions and 8 deletions

View File

@ -12,6 +12,7 @@ FROM rust:1.69-alpine as backend
WORKDIR /tmp WORKDIR /tmp
RUN apk add libc-dev openssl-dev alpine-sdk RUN apk add libc-dev openssl-dev alpine-sdk
COPY ./packages/backend/Cargo.* ./ COPY ./packages/backend/Cargo.* ./
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
RUN cargo fetch RUN cargo fetch
COPY ./packages/backend ./ COPY ./packages/backend ./
RUN cargo build --release RUN cargo build --release

View File

@ -439,7 +439,7 @@ dependencies = [
[[package]] [[package]]
name = "cryptgeon" name = "cryptgeon"
version = "2.3.0-beta.5" version = "2.3.0-beta.6"
dependencies = [ dependencies = [
"actix-files", "actix-files",
"actix-web", "actix-web",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "cryptgeon" name = "cryptgeon"
version = "2.3.0-beta.5" version = "2.3.0-beta.6"
authors = ["cupcakearmy <hi@nicco.io>"] authors = ["cupcakearmy <hi@nicco.io>"]
edition = "2021" edition = "2021"
@ -8,11 +8,6 @@ edition = "2021"
name = "cryptgeon" name = "cryptgeon"
path = "src/main.rs" path = "src/main.rs"
[registries.crates-io]
protocol = "sparse"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
actix-web = "4" actix-web = "4"
actix-files = "0.6" actix-files = "0.6"

View File

@ -1,5 +1,5 @@
{ {
"version": "2.3.0-beta.5", "version": "2.3.0-beta.6",
"name": "cryptgeon", "name": "cryptgeon",
"type": "module", "type": "module",
"engines": { "engines": {