enable sparse bundle

This commit is contained in:
2023-05-26 00:21:50 +02:00
parent 063d073c27
commit f8223dfc62
4 changed files with 4 additions and 8 deletions

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
[package]
name = "cryptgeon"
version = "2.3.0-beta.5"
version = "2.3.0-beta.6"
authors = ["cupcakearmy <hi@nicco.io>"]
edition = "2021"
@@ -8,11 +8,6 @@ edition = "2021"
name = "cryptgeon"
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]
actix-web = "4"
actix-files = "0.6"

View File

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