From 8e588457103bdb8a435a8bb29c8a04f49e912177 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 13 Sep 2018 14:36:08 -0700 Subject: Remove `cmake` dependency in favor of `cc` (#94) * Remove `cmake` dependency in favor of `cc` This has been done in a few other projects and has made it lightyears easier to compile native C code, so let's do it here! More info at alexcrichton/curl-rust#225 --- README.md | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 9a6b0ca..826533c 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,6 @@ Rust bindings to libssh2 ## Usage -Ensure that [`zlib`](https://zlib.net/) is installed (Debian: `sudo apt-get -install zlib1g-dev`, OSX: `brew install zlib-devel`, -[Windows](http://gnuwin32.sourceforge.net/packages/zlib.htm)) - ```toml # Cargo.toml [dependencies] @@ -21,16 +17,5 @@ ssh2 = "0.3" ## Building on OSX 10.10+ -Currently libssh2 requires linking against OpenSSL, and to compile libssh2 it -also needs to find the OpenSSL headers. On OSX 10.10+ the OpenSSL headers have -been removed, but if you're using Homebrew you can install them via: - -```sh -brew install openssl -``` - -This crate also needs to have `cmake` installed: - -```sh -brew install cmake -``` +This library depends on OpenSSL. To get OpenSSL working follow the +[`openssl` crate's instructions](https://github.com/sfackler/rust-openssl#macos). -- cgit v1.2.3