diff options
author | Alex Crichton <alex@alexcrichton.com> | 2016-08-06 17:30:30 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2016-08-06 17:30:30 -0700 |
commit | 2a8ff1cb67bc71e14a244d6eb500f0e0a7133672 (patch) | |
tree | 7b7d966bc497d4471ac39894e684e9649307a059 /libssh2-sys | |
parent | bd64d000cdebfbeb6a6560a185dc3c0ca006b6d8 (diff) | |
download | ssh2-rs-2a8ff1cb67bc71e14a244d6eb500f0e0a7133672.zip |
Add LIBSSH2_INIT_NO_CRYPTO binding
Diffstat (limited to 'libssh2-sys')
-rw-r--r-- | libssh2-sys/Cargo.toml | 33 | ||||
-rw-r--r-- | libssh2-sys/lib.rs | 2 |
2 files changed, 2 insertions, 33 deletions
diff --git a/libssh2-sys/Cargo.toml b/libssh2-sys/Cargo.toml index c4e006d..175be77 100644 --- a/libssh2-sys/Cargo.toml +++ b/libssh2-sys/Cargo.toml @@ -19,39 +19,6 @@ libc = "0.2" [target."cfg(unix)".dependencies] openssl-sys = ">= 0" -[target.i686-apple-darwin.dependencies] -openssl-sys = ">= 0" -[target.x86_64-apple-darwin.dependencies] -openssl-sys = ">= 0" -[target.i686-unknown-linux-gnu.dependencies] -openssl-sys = ">= 0" -[target.i586-unknown-linux-gnu.dependencies] -openssl-sys = ">= 0" -[target.x86_64-unknown-linux-gnu.dependencies] -openssl-sys = ">= 0" -[target.aarch64-unknown-linux-gnu.dependencies] -openssl-sys = ">= 0" -[target.powerpc64-unknown-linux-gnu.dependencies] -openssl-sys = ">= 0" -[target.powerpc64le-unknown-linux-gnu.dependencies] -openssl-sys = ">= 0" -[target.x86_64-unknown-linux-musl.dependencies] -openssl-sys = ">= 0" -[target.arm-unknown-linux-gnueabihf.dependencies] -openssl-sys = ">= 0" -[target.armv7-unknown-linux-gnueabihf.dependencies] -openssl-sys = ">= 0" -[target.i686-unknown-freebsd.dependencies] -openssl-sys = ">= 0" -[target.x86_64-unknown-freebsd.dependencies] -openssl-sys = ">= 0" -[target.x86_64-unknown-dragonfly.dependencies] -openssl-sys = ">= 0" -[target.x86_64-unknown-bitrig.dependencies] -openssl-sys = ">= 0" -[target.x86_64-unknown-openbsd.dependencies] -openssl-sys = ">= 0" - [build-dependencies] pkg-config = "0.3" cmake = "0.1.2" diff --git a/libssh2-sys/lib.rs b/libssh2-sys/lib.rs index 02fd203..1516d18 100644 --- a/libssh2-sys/lib.rs +++ b/libssh2-sys/lib.rs @@ -143,6 +143,8 @@ pub const LIBSSH2_SFTP_RENAME_OVERWRITE: c_long = 0x1; pub const LIBSSH2_SFTP_RENAME_ATOMIC: c_long = 0x2; pub const LIBSSH2_SFTP_RENAME_NATIVE: c_long = 0x4; +pub const LIBSSH2_INIT_NO_CRYPTO: c_int = 0x1; + pub enum LIBSSH2_SESSION {} pub enum LIBSSH2_AGENT {} pub enum LIBSSH2_CHANNEL {} |