错误提示
Could not find directory of OpenSSL installation, and this -sys
crate cannot proceed without this knowledge. If OpenSSL is installed and this crate had trouble finding it, you can set the OPENSSL_DIR
environment variable for the compilation process.
问题解决
Mac OSX / Homebrew
brew install openssl@1.1
Debian / Ubuntu
apt install pkg-config libssl-dev
CentOS
yum install openssl-devel