Skip to content

Commit

Permalink
include openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
zaknesler committed Apr 25, 2024
1 parent bfc5711 commit daf7621
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 11 additions & 0 deletions Cargo.lock

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

11 changes: 3 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ blend-context = { path = "./crates/blend-context" }
blend-db = { path = "./crates/blend-db" }
blend-web = { path = "./crates/blend-web" }
clap = { version = "4", features = ["derive"] }
openssl = { version = "0", features = ["vendored"] }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
tracing = { workspace = true }
Expand All @@ -40,17 +41,11 @@ opt-level = 1
opt-level = 3

[package.metadata.cross.target.aarch64-unknown-linux-gnu]
env.passthrough = ["DATABASE_URL", "RUSTFLAGS"]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update",
"apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH",
]
env.passthrough = ["DATABASE_URL"]

[package.metadata.cross.target.aarch64-unknown-linux-musl]
env.passthrough = ["DATABASE_URL", "RUSTFLAGS", "TARGET_CC=gcc"]
env.passthrough = ["DATABASE_URL"]
image = "messense/rust-musl-cross:aarch64-musl"
pre-build = ["apt-get update", "apt-get install --assume-yes libssl-dev"]

[profile.release]
strip = true
Expand Down

0 comments on commit daf7621

Please sign in to comment.