Browse Source

adds HowTo install Rust toolchain to readme

master
Andreas Buff 4 months ago
parent
commit
2d1b2002f6
1 changed files with 29 additions and 0 deletions
  1. +29
    -0
      README.md

+ 29
- 0
README.md View File

@ -5,6 +5,9 @@ Converts MIME (string or data) to and from PEPMessage.
Note: You have to update all PEPIdentities (from, to, cc, ...) with available data (userID, isOwn, ...) in a PEPMessage created from MIME.
## Get & Install Dependencies
### Install Tools
```
sudo port install git
@ -13,8 +16,34 @@ sudo port install autoconf
sudo port install libtool
sudo port install automake
sudo port install asn1c
sudo port install wget
sudo port install gsed
pushd ~
git clone https://gitea.pep.foundation/fdik/yml2
popd
```
### Install Rust Toolchain
```
xcode-select --install
curl https://sh.rustup.rs -sSf | sh
```
add this to ~/.profile (or ~/.zprofile, depending on the shell you are using):
```
source $HOME/.cargo/env
export PATH="$HOME/.cargo/bin:$PATH"
```
restart your console and run:
```
sudo port install pkgconfig
rustup toolchain install nightly
rustup target add x86_64-apple-darwin
rustup target add aarch64-apple-darwin
rustup target add aarch64-apple-darwin --toolchain nightly
rustup update
```
### Get pEp Code
```
mkdir src_pEpMime4macOS
cd src_pEpMime4macOS


Loading…
Cancel
Save