Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Recipes

Alexander Huszagh edited this page May 29, 2022 · 13 revisions

This contains recipes for common logic use cases.

Table of Contents

OpenSSL

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"] }

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /