cargo-crev
requires the latest stable version of Rust. If you have installed a
Rust package from a slow-moving Linux distro, it's probably outdated and won't
work. If you get compilation errors and warnings about unstable features, it
means your Rust version is too old. Run:
rustup update
rustup default stable
If you don't have rustup
, uninstall any Rust or Cargo package you may have,
and install Rust via rustup
.
Currently cargo-crev
requires a non-Rust dependency to compile, as OpenSSL is
required for TLS support.
Though OpenSSL is popular and readily available, it's virtually impossible to cover installing it on all the available operating systems. We list some examples below. They should have matching commands and similar package names in the Unix-like OS of your choice.
In case of problems, don't hesitate to ask for help.
The following should work on Debian and Debian based distributions such as Ubuntu:
sudo apt-get install openssl libssl-dev
On Arch and Arch based distributions such as Manjaro make sure the latest OpenSSL is installed:
sudo pacman -Syu openssl
On RedHat and its derivates Fedora and CentOS the following should work:
sudo yum install openssl openssl-devel
On SuSE Linux the following should work:
sudo zypper install openssl libopenssl-devel
To compile and install latest cargo-crev
release use cargo
:
cargo install cargo-crev
In case you'd like to try latest features from the main branch, try:
cargo install --git https://github.com/crev-dev/cargo-crev/ cargo-crev
cargo build --release -p cargo-crev
It will build target/release/cargo-crev
executable.
If you have any trouble compiling, ask in our gitter channel or use pre-built binaries.