summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-09-13 14:36:08 -0700
committerGitHub <noreply@github.com>2018-09-13 14:36:08 -0700
commit8e588457103bdb8a435a8bb29c8a04f49e912177 (patch)
tree0463771dd9c5156fb13dcf180eaf2ea2dd5ea8af /README.md
parent20ed26a2918845a5a33adac931ebad43e4166958 (diff)
downloadssh2-rs-8e588457103bdb8a435a8bb29c8a04f49e912177.zip
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
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 2 insertions, 17 deletions
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).