use std::path::Path;
use rxsync::{connection::*, sync};
fn main() {
let conn = SshCred::new(
AuthOption::UserauthPassword("".to_string(), "".to_string()),
"127.0.0.1".to_string(),
"22".to_string(),
);
match sync(&conn, Path::new("test_sync/"), Some(Path::new("elixir"))) {
Ok(_) => println!("okay"),
Err(e) => println!("{:?}", e),
}
}