#bindings #libssh2 #ssh2 #ssh #native #native-bindings #ssh-client

已删除 libssh2-sys-patched

libssh2库的原生绑定

1 个不稳定版本

使用旧的Rust 2015

0.3.0-p12022年10月21日

#7#libssh2

Download history 12/week @ 2024-03-29 4/week @ 2024-04-05

每月419次下载
ssh2-patched 中使用

MIT/Apache

1.5MB
40K SLoC

C 36K SLoC // 0.1% comments M4 1K SLoC // 0.2% comments Rust 1K SLoC // 0.0% comments Perl 676 SLoC // 0.1% comments Shell 486 SLoC // 0.2% comments Automake 445 SLoC // 0.1% comments C++ 119 SLoC // 0.1% comments Emacs Lisp 33 SLoC // 0.3% comments Bitbake 24 SLoC AWK 23 SLoC PowerShell 12 SLoC // 0.3% comments Batch 7 SLoC

包含 (晦涩的autoconf代码,13KB) libssh2/configure.ac

ssh2-rs

Build Status Build Status Build Status

文档

Rust对libssh2的绑定,一个SSH客户端库。

用法

# Cargo.toml
[dependencies]
ssh2 = "0.9"

在OSX 10.10+上构建

这个库依赖于OpenSSL。要使OpenSSL工作,请遵循openssl crate的说明

ssh20.4版本开始,您可以启用vendored-openssl功能,以便使用静态构建的OpenSSL版本构建libssh2,如此处所述

许可证

此项目许可在以下两者中选择

任选其一。

贡献

除非您明确声明,否则您提交给此项目的任何有意贡献,根据Apache-2.0许可证定义,均应如上所述双重许可,没有附加条款或条件。

依赖关系

~1.1–1.9MB
~41K SLoC