Added lazy_static and regex

This commit is contained in:
ChristianVisintin
2020-12-01 17:10:13 +01:00
parent 231f83810c
commit 7151b4c094
4 changed files with 7 additions and 0 deletions

2
Cargo.lock generated
View File

@@ -580,6 +580,8 @@ dependencies = [
"crossterm", "crossterm",
"ftp", "ftp",
"getopts", "getopts",
"lazy_static",
"regex",
"rpassword", "rpassword",
"ssh2", "ssh2",
"tempfile", "tempfile",

View File

@@ -26,6 +26,8 @@ unicode-width = "0.1.7"
chrono = "0.4.19" chrono = "0.4.19"
bytesize = "1.0.1" bytesize = "1.0.1"
textwrap = "0.12.1" textwrap = "0.12.1"
regex = "1.4.2"
lazy_static = "1.4.0"
[target.'cfg(any(unix, macos, linux))'.dependencies] [target.'cfg(any(unix, macos, linux))'.dependencies]
users = "0.11.0" users = "0.11.0"

View File

@@ -19,6 +19,8 @@
* *
*/ */
#[macro_use] extern crate lazy_static;
pub mod activity_manager; pub mod activity_manager;
pub mod filetransfer; pub mod filetransfer;
pub mod fs; pub mod fs;

View File

@@ -24,6 +24,7 @@ const TERMSCP_AUTHORS: &'static str = env!("CARGO_PKG_AUTHORS");
// Crates // Crates
extern crate getopts; extern crate getopts;
#[macro_use] extern crate lazy_static;
extern crate rpassword; extern crate rpassword;
// External libs // External libs