#libssh

sys libssh-rs-sys

Native bindings to the libssh library

4 releases

0.1.3 Jan 31, 2022
0.1.2 Dec 15, 2021
0.1.1 Dec 10, 2021
0.1.0 Nov 3, 2021

#205 in Build Utils

Download history 98/week @ 2022-08-14 51/week @ 2022-08-21 37/week @ 2022-08-28 64/week @ 2022-09-04 49/week @ 2022-09-11 39/week @ 2022-09-18 39/week @ 2022-09-25 43/week @ 2022-10-02 27/week @ 2022-10-09 21/week @ 2022-10-16 38/week @ 2022-10-23 50/week @ 2022-10-30 61/week @ 2022-11-06 60/week @ 2022-11-13 87/week @ 2022-11-20 46/week @ 2022-11-27

260 downloads per month
Used in 4 crates (via libssh-rs)

MIT license

3MB
81K SLoC

C 78K SLoC // 0.1% comments Rust 3K SLoC // 0.0% comments C++ 377 SLoC // 0.2% comments Shell 107 SLoC // 0.1% comments JavaScript 20 SLoC // 0.3% comments Python 9 SLoC

libssh-rs-sys

Build Status Build Status Build Status

Native bindings to libssh.

Features

The vendored feature causes a static version of libssh to be compiled and linked into your program. If no system libssh is detected at build time, or that system library is too old, then the vendored libssh implementation will be used automatically. Note that the libssh-rs bindings make use of a couple of new interfaces that have not made it into a released version of libssh at the time of writing this note, so all users will be effectively running with vendored enabled until libssh releases version 0.9.7.

The vendored-openssl feature causes a vendored copy of openssl to be compiled and linked into your program.

On macOS and Windows systems, you most likely want to enable both vendored and vendored-openssl.

License

This crate is licensed under the MIT license, and is: Copyright (c) 2021-Present Wez Furlong.

Note that the vendored directory is a submodule that references libssh; libssh is itself GNU Library (or: Lesser) General Public License (LGPL) which has a viral clause in the case where you modify libssh. The license is explained on the libssh features page; the summary is that simply using an unmodified libssh-rs-sys crate will not trigger that viral clause, and you are thus able to use this crate under the terms of the MIT license.

Dependencies

~0.3–1.5MB
~35K SLoC