1 个不稳定版本

使用旧的Rust 2015

0.3.0-p12022年10月21日

#7#libssh2

Download history • Rust 包仓库 12/week @ 2024-03-29 • Rust 包仓库 4/week @ 2024-04-05 • Rust 包仓库

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

MIT/Apache

1.5MB
40K SLoC

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

包含 (晦涩的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