Loading README.md +9 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ [](https://travis-ci.org/sfackler/rust-openssl) [Documentation](https://sfackler.github.io/rust-openssl/doc/v0.7.6/openssl). [Documentation](https://sfackler.github.io/rust-openssl/doc/v0.7.7/openssl). ## Building Loading Loading @@ -31,6 +31,14 @@ rust-openssl to a separate installation. OSX releases starting at 10.11, "El Capitan", no longer include OpenSSL headers which will prevent the `openssl` crate from compiling. For OSX 10.11 you can use brew to install OpenSSL and then set the environment variables as described below. ```bash brew install openssl export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib ``` ### Windows On Windows, consider building with [mingw-w64](http://mingw-w64.org/). Loading appveyor.yml +4 −4 Original line number Diff line number Diff line Loading @@ -5,11 +5,11 @@ environment: matrix: - TARGET: i686-pc-windows-gnu BITS: 32 - TARGET: x86_64-pc-windows-msvc BITS: 64 # - TARGET: x86_64-pc-windows-msvc # BITS: 64 install: - ps: Start-FileDownload "http://slproweb.com/download/Win${env:BITS}OpenSSL-1_0_2f.exe" - Win%BITS%OpenSSL-1_0_2f.exe /SILENT /VERYSILENT /SP- /DIR="C:\OpenSSL" - ps: Start-FileDownload "http://slproweb.com/download/Win${env:BITS}OpenSSL-1_0_2g.exe" - Win%BITS%OpenSSL-1_0_2g.exe /SILENT /VERYSILENT /SP- /DIR="C:\OpenSSL" - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-1.5.0-${env:TARGET}.exe" - rust-1.5.0-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin Loading openssl-sys-extras/Cargo.toml +3 −3 Original line number Diff line number Diff line [package] name = "openssl-sys-extras" version = "0.7.6" version = "0.7.7" authors = ["Steven Fackler <sfackler@gmail.com>"] license = "MIT" description = "Extra FFI bindings to OpenSSL that require a C shim" repository = "https://github.com/sfackler/rust-openssl" documentation = "https://sfackler.github.io/rust-openssl/doc/v0.7.6/openssl_sys_extras" documentation = "https://sfackler.github.io/rust-openssl/doc/v0.7.7/openssl_sys_extras" build = "build.rs" [features] Loading @@ -13,7 +13,7 @@ ecdh_auto = [] [dependencies] libc = "0.2" openssl-sys = { version = "0.7.6", path = "../openssl-sys" } openssl-sys = { version = "0.7.7", path = "../openssl-sys" } [build-dependencies] gcc = "0.3" openssl-sys-extras/src/lib.rs +1 −1 Original line number Diff line number Diff line #![allow(non_upper_case_globals, non_snake_case)] #![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc/v0.7.6")] #![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc/v0.7.7")] extern crate openssl_sys; extern crate libc; Loading openssl-sys/Cargo.toml +2 −2 Original line number Diff line number Diff line [package] name = "openssl-sys" version = "0.7.6" version = "0.7.7" authors = ["Alex Crichton <alex@alexcrichton.com>", "Steven Fackler <sfackler@gmail.com>"] license = "MIT" description = "FFI bindings to OpenSSL" repository = "https://github.com/sfackler/rust-openssl" documentation = "https://sfackler.github.io/rust-openssl/doc/v0.7.6/openssl_sys" documentation = "https://sfackler.github.io/rust-openssl/doc/v0.7.7/openssl_sys" links = "openssl" build = "build.rs" Loading Loading
README.md +9 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ [](https://travis-ci.org/sfackler/rust-openssl) [Documentation](https://sfackler.github.io/rust-openssl/doc/v0.7.6/openssl). [Documentation](https://sfackler.github.io/rust-openssl/doc/v0.7.7/openssl). ## Building Loading Loading @@ -31,6 +31,14 @@ rust-openssl to a separate installation. OSX releases starting at 10.11, "El Capitan", no longer include OpenSSL headers which will prevent the `openssl` crate from compiling. For OSX 10.11 you can use brew to install OpenSSL and then set the environment variables as described below. ```bash brew install openssl export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib ``` ### Windows On Windows, consider building with [mingw-w64](http://mingw-w64.org/). Loading
appveyor.yml +4 −4 Original line number Diff line number Diff line Loading @@ -5,11 +5,11 @@ environment: matrix: - TARGET: i686-pc-windows-gnu BITS: 32 - TARGET: x86_64-pc-windows-msvc BITS: 64 # - TARGET: x86_64-pc-windows-msvc # BITS: 64 install: - ps: Start-FileDownload "http://slproweb.com/download/Win${env:BITS}OpenSSL-1_0_2f.exe" - Win%BITS%OpenSSL-1_0_2f.exe /SILENT /VERYSILENT /SP- /DIR="C:\OpenSSL" - ps: Start-FileDownload "http://slproweb.com/download/Win${env:BITS}OpenSSL-1_0_2g.exe" - Win%BITS%OpenSSL-1_0_2g.exe /SILENT /VERYSILENT /SP- /DIR="C:\OpenSSL" - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-1.5.0-${env:TARGET}.exe" - rust-1.5.0-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin Loading
openssl-sys-extras/Cargo.toml +3 −3 Original line number Diff line number Diff line [package] name = "openssl-sys-extras" version = "0.7.6" version = "0.7.7" authors = ["Steven Fackler <sfackler@gmail.com>"] license = "MIT" description = "Extra FFI bindings to OpenSSL that require a C shim" repository = "https://github.com/sfackler/rust-openssl" documentation = "https://sfackler.github.io/rust-openssl/doc/v0.7.6/openssl_sys_extras" documentation = "https://sfackler.github.io/rust-openssl/doc/v0.7.7/openssl_sys_extras" build = "build.rs" [features] Loading @@ -13,7 +13,7 @@ ecdh_auto = [] [dependencies] libc = "0.2" openssl-sys = { version = "0.7.6", path = "../openssl-sys" } openssl-sys = { version = "0.7.7", path = "../openssl-sys" } [build-dependencies] gcc = "0.3"
openssl-sys-extras/src/lib.rs +1 −1 Original line number Diff line number Diff line #![allow(non_upper_case_globals, non_snake_case)] #![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc/v0.7.6")] #![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc/v0.7.7")] extern crate openssl_sys; extern crate libc; Loading
openssl-sys/Cargo.toml +2 −2 Original line number Diff line number Diff line [package] name = "openssl-sys" version = "0.7.6" version = "0.7.7" authors = ["Alex Crichton <alex@alexcrichton.com>", "Steven Fackler <sfackler@gmail.com>"] license = "MIT" description = "FFI bindings to OpenSSL" repository = "https://github.com/sfackler/rust-openssl" documentation = "https://sfackler.github.io/rust-openssl/doc/v0.7.6/openssl_sys" documentation = "https://sfackler.github.io/rust-openssl/doc/v0.7.7/openssl_sys" links = "openssl" build = "build.rs" Loading