Published new rust-ftp as ftp4
This commit is contained in:
parent
8f321598e7
commit
a2a7478f5b
9
Cargo.lock
generated
9
Cargo.lock
generated
|
@ -145,9 +145,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
|
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ftp"
|
name = "ftp4"
|
||||||
version = "3.0.1"
|
version = "4.0.0"
|
||||||
source = "git+https://github.com/ChristianVisintin/rust-ftp#63b06ef1b21cd7bd0a44682e514144e67c071d0e"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "412a5da44e30489a1790749f34044d53bbc4ff0cf8d789ee37be4b6befeb7c23"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
|
@ -668,7 +669,7 @@ dependencies = [
|
||||||
"bytesize",
|
"bytesize",
|
||||||
"chrono",
|
"chrono",
|
||||||
"crossterm",
|
"crossterm",
|
||||||
"ftp",
|
"ftp4",
|
||||||
"getopts",
|
"getopts",
|
||||||
"hostname",
|
"hostname",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
|
|
|
@ -16,7 +16,7 @@ readme = "README.md"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
crossterm = "0.18.2"
|
crossterm = "0.18.2"
|
||||||
ftp = { git = "https://github.com/ChristianVisintin/rust-ftp", features = ["secure"] }
|
ftp4 = { version = "^4.0.0", features = ["secure"] }
|
||||||
getopts = "0.2.21"
|
getopts = "0.2.21"
|
||||||
ssh2 = "0.9.0"
|
ssh2 = "0.9.0"
|
||||||
tui = { version = "0.13.0", features = ["crossterm"], default-features = false }
|
tui = { version = "0.13.0", features = ["crossterm"], default-features = false }
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
// Dependencies
|
// Dependencies
|
||||||
extern crate chrono;
|
extern crate chrono;
|
||||||
extern crate ftp;
|
extern crate ftp4;
|
||||||
extern crate regex;
|
extern crate regex;
|
||||||
|
|
||||||
use super::{FileTransfer, FileTransferError, FileTransferErrorType};
|
use super::{FileTransfer, FileTransferError, FileTransferErrorType};
|
||||||
|
@ -33,8 +33,8 @@ use crate::fs::{FsDirectory, FsEntry, FsFile};
|
||||||
use crate::utils::lstime_to_systime;
|
use crate::utils::lstime_to_systime;
|
||||||
|
|
||||||
// Includes
|
// Includes
|
||||||
use ftp::native_tls::TlsConnector;
|
use ftp4::native_tls::TlsConnector;
|
||||||
use ftp::FtpStream;
|
use ftp4::FtpStream;
|
||||||
use regex::Regex;
|
use regex::Regex;
|
||||||
use std::io::{Read, Write};
|
use std::io::{Read, Write};
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
|
|
Loading…
Reference in a new issue