libssh-rs-sys 0.1.3

Native bindings to the libssh library
Documentation
1
2
3
4
5
6
7
use libssh_rs_sys::*;

fn main() -> Result<(), String> {
    let session = unsafe { ssh_new() };
    assert!(!session.is_null(), "failed to allocate session");
    Ok(())
}