Skip to content

Commit

Permalink
enable sparse bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
cupcakearmy committed May 25, 2023
1 parent 063d073 commit f8223df
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions packages/backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
[package]
name = "cryptgeon"
version = "2.3.0-beta.5"
version = "2.3.0-beta.6"
authors = ["cupcakearmy <[email protected]>"]
edition = "2021"

[[bin]]
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"
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.3.0-beta.5",
"version": "2.3.0-beta.6",
"name": "cryptgeon",
"type": "module",
"engines": {
Expand Down

0 comments on commit f8223df

Please sign in to comment.