Skip to content

Commit

Permalink
chore: updated to new cargo dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cellebriteevi committed Feb 22, 2024
1 parent 50a8af9 commit d8062ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ version = "0.2.0"
edition = "2021"

[dependencies]
ssh-rs = "0.5.0"
ssh-rs = { version = "0.5.0", features = ["scp"] }
structopt = "0.3.26"
3 changes: 1 addition & 2 deletions src/session.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use std::net::TcpStream;

use ssh_rs::{LocalSession, ssh};
use ssh::LocalSession;

pub fn session_with_key(username: &str, private_key_path: &str, server: &str) -> LocalSession<TcpStream> {
ssh::create_session()
Expand Down

0 comments on commit d8062ac

Please sign in to comment.