summaryrefslogtreecommitdiff
path: root/libssh2-sys/lib.rs
AgeCommit message (Collapse)Author
2021-02-01Expose libssh2_trace function (#209)Mike Harris
* Expose libssh2_trace function and associated constants, to allow enabling libssh2 trace output. * set LIBSSH2_WIN32 on windows build so that gettimeofday replacement will be compiled. * libssh2_trace actually returns int, even though the documentation says it returns void. This was causing systest to fail. Changed the FFI to match the C function. Co-authored-by: eharmic <michael.harris@ericsson.com>
2020-11-22Handle more precise SFTP error codes (#203)Matteo Bigoi
* Handle more precise SFTP error codes * Allow set-env in macos github action * Bump to 0.9 since the Error interface has changed, hence this is a breaking change
2020-02-22Add Channel::request_auth_agent_forwardingWez Furlong
This method enables agent forwarding
2020-01-11fix: define libssh2_socket_t using pointer width for aarch64 windowsHarrison Metzger
2020-01-03export block directionsbold
2019-10-20migrate std::sync::ONCE_INIT -> std::sync::Once::newWez Furlong
2019-08-02handle_extended_dataWez Furlong
Add a function to configure how extended data streams are to be handled. This allows for merging stderr to stdout, or discarding it.
2019-07-31Support keyboard-interactive authenticationWez Furlong
Refs: https://github.com/alexcrichton/ssh2-rs/issues/65
2019-07-31Fix scp_recv ABI issue on WindowsWez Furlong
* Adopt scp_recv2 instead, which uses compatible 64-bit stat types * Mark scp_recv as deprecated * small version bump Fixes https://github.com/alexcrichton/ssh2-rs/issues/109 Refs https://github.com/alexcrichton/ssh2-rs/pull/117 Co-authored-by: Joyce Babu <joyce@ennexa.com>
2019-07-29cargo fmtWez Furlong
No functional changes, just formatting
2019-07-29Expose more known_hosts related constantsWez Furlong
This brings us up to date with the current set of host key and known host key enum variants so that we can parse and edit current known_hosts files. This also adds a convenience `From` impl that allows converting from the host key type to a known hosts entry type.
2018-08-05Fix a constant valueAlex Crichton
2018-04-14Add libssh2 SFTP error codesBen Reedy
2018-02-16Support in-memory keypair.Eldad Zack
2017-08-28Allow unused extern cratesAlex Crichton
2017-05-08Initialize all crypto on WindowsAlex Crichton
If we don't then apparently nothing works, spooky! Closes alexcrichton/git2-rs#202
2016-11-26Push init synchronization to sys layerAlex Crichton
2016-08-17Add checks for file typesVeselkov Sergey
2016-08-06Add LIBSSH2_INIT_NO_CRYPTO bindingAlex Crichton
2016-02-13Drop the winapi/ws2_32 depAlex Crichton
Not worth the build times
2015-11-09Use SOCKET from winapiAlex Crichton
2015-11-03Fix compile on WindowsAlex Crichton
2015-10-07Add automated testing of FFI bindingsAlex Crichton
2015-07-31Link libz on all platformsAlex Crichton
2015-06-02Overhaul the build on windowsAlex Crichton
* Have an entirely separate path for windows builds * Run `make install` on unix builds for libssh2 * On Windows, first detect whether `make` is available * Use the specific `win32/GNUmakefile` for windows instead of the standard configure/make procedure for unix. * Continue doing a manual install on Windows, but don't rely on `pkg-config` existing and don't emit a pkg-config file. One day this may support MSVC-based builds, but support is not added at this time.
2015-04-02Update for rust betaAlex Crichton
2015-03-25Update to master again!Alex Crichton
2015-03-12Bind unlink for SFTP filesAlex Crichton
Closes #11
2015-03-03Add html root urlsAlex Crichton
2015-02-19Update to rust masterAlex Crichton
2015-02-03Update to rust masterAlex Crichton
2015-01-09Update to rust masterAlex Crichton
2015-01-03Update to rust masterAlex Crichton
2014-12-16Update to rust masterAlex Crichton
2014-11-07Work around rust-lang/rust#14344Alex Crichton
2014-11-07Always depend on zlib (it's found on msys2)Alex Crichton
2014-11-01Update with build script for libssh2Alex Crichton
2014-10-12Update to rust masterAlex Crichton
2014-10-09Update to rust masterAlex Crichton
2014-09-19Bind SFTP functionality.Alex Crichton
2014-09-19Start SFTP bindingsAlex Crichton
2014-09-19Bind SCP functionsAlex Crichton
2014-09-18Bind some more userauth functionsAlex Crichton
2014-09-18Bind knownhost apisAlex Crichton
2014-09-18Bind keepaliveAlex Crichton
2014-09-18More bindings to more channel functionsAlex Crichton
2014-09-18Bind and tests many channel-based functionsAlex Crichton
2014-09-18Add some basic channel testsAlex Crichton
2014-09-18Split things up and write some docsAlex Crichton