-
Notifications
You must be signed in to change notification settings - Fork 408
Recipes
Alexander Huszagh edited this page May 29, 2022
·
13 revisions
This contains recipes for common logic use cases.
Table of Contents
You can either use the vendored or system packages for the openssl crate. In order to use the system packages, see. A sample Dockerfile for aarch64
is:
FROM ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge
RUN dpkg --add-architecture arm64
RUN apt-get update && apt-get install --assume-yes libssl-dev:arm64
Build this image and use it, as is described extensively in Custom Images.
For non-GNU targets, use the vendored option by adding the following to your dependencies in Cargo.toml
:
openssl = { version = "0.10", features = ["vendored"] }