mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 01:26:04 -08:00
updated dependencies
This commit is contained in:
11
CHANGELOG.md
11
CHANGELOG.md
@@ -53,7 +53,18 @@ Released on FIXME:
|
|||||||
- Press `<CTRL+T>` to show all the currently synchronized files
|
- Press `<CTRL+T>` to show all the currently synchronized files
|
||||||
- **Enhancements**:
|
- **Enhancements**:
|
||||||
- Improved s3 auth form scrolling
|
- Improved s3 auth form scrolling
|
||||||
|
- **Bugfix**:
|
||||||
|
- Fixed SSH key list showing `{hostname} at {username}` instead of `{username} at {hostname}`
|
||||||
- Dependencies:
|
- Dependencies:
|
||||||
|
- Updated `edit` to `0.1.4`
|
||||||
|
- Updated `log` to `0.4.17`
|
||||||
|
- Updated `magic-crypt` to `3.1.10`
|
||||||
|
- Updated `open` to `2.1.3`
|
||||||
|
- Updated `regex` to `1.5.6`
|
||||||
|
- Updated `rpassword` to `6.0.1`
|
||||||
|
- Updated `self_update` to `0.30.0`
|
||||||
|
- Updated `simplelog` to `0.12.0`
|
||||||
|
- Updated `toml` to `0.5.9`
|
||||||
- Updated `tui-realm` to `1.6.0`
|
- Updated `tui-realm` to `1.6.0`
|
||||||
|
|
||||||
## 0.8.2
|
## 0.8.2
|
||||||
|
|||||||
676
Cargo.lock
generated
676
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
22
Cargo.toml
22
Cargo.toml
@@ -37,28 +37,28 @@ bytesize = "1.1.0"
|
|||||||
chrono = "0.4.19"
|
chrono = "0.4.19"
|
||||||
content_inspector = "0.2.4"
|
content_inspector = "0.2.4"
|
||||||
dirs = "4.0.0"
|
dirs = "4.0.0"
|
||||||
edit = "0.1.3"
|
edit = "0.1.4"
|
||||||
hostname = "0.3.1"
|
hostname = "0.3.1"
|
||||||
keyring = { version = "1.1.2", optional = true }
|
keyring = { version = "1.1.2", optional = true }
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
log = "0.4.14"
|
log = "0.4.17"
|
||||||
magic-crypt = "3.1.9"
|
magic-crypt = "3.1.10"
|
||||||
notify = "4.0.17"
|
notify = "4.0.17"
|
||||||
notify-rust = { version = "4.5.6", default-features = false, features = [ "d" ] }
|
notify-rust = { version = "4.5.6", default-features = false, features = [ "d" ] }
|
||||||
open = "2.0.3"
|
open = "2.1.3"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
regex = "1.5.5"
|
regex = "1.5.6"
|
||||||
remotefs = "^0.2.0"
|
remotefs = "^0.2.0"
|
||||||
remotefs-aws-s3 = "^0.2.0"
|
remotefs-aws-s3 = "^0.2.0"
|
||||||
remotefs-ftp = { version = "^0.1.0", features = [ "secure" ] }
|
remotefs-ftp = { version = "^0.1.0", features = [ "secure" ] }
|
||||||
remotefs-ssh = "^0.1.0"
|
remotefs-ssh = "^0.1.0"
|
||||||
rpassword = "5.0.1"
|
rpassword = "6.0.1"
|
||||||
self_update = { version = "0.28.0", features = [ "archive-tar", "archive-zip", "compression-flate2", "compression-zip-deflate" ] }
|
self_update = { version = "0.30.0", features = [ "archive-tar", "archive-zip", "compression-flate2", "compression-zip-deflate" ] }
|
||||||
serde = { version = "^1.0.0", features = [ "derive" ] }
|
serde = { version = "^1.0.0", features = [ "derive" ] }
|
||||||
simplelog = "0.11.1"
|
simplelog = "0.12.0"
|
||||||
tempfile = "3.2.0"
|
tempfile = "3.2.0"
|
||||||
thiserror = "^1.0.0"
|
thiserror = "^1.0.0"
|
||||||
toml = "0.5.8"
|
toml = "0.5.0"
|
||||||
tui-realm-stdlib = "1.1.6"
|
tui-realm-stdlib = "1.1.6"
|
||||||
tuirealm = "1.6.0"
|
tuirealm = "1.6.0"
|
||||||
unicode-width = "0.1.8"
|
unicode-width = "0.1.8"
|
||||||
@@ -66,8 +66,8 @@ whoami = "1.2.1"
|
|||||||
wildmatch = "2.1.0"
|
wildmatch = "2.1.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
pretty_assertions = "1.1.0"
|
pretty_assertions = "1.2.1"
|
||||||
serial_test = "^0.5.1"
|
serial_test = "^0.7.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = [ "with-keyring" ]
|
default = [ "with-keyring" ]
|
||||||
|
|||||||
@@ -398,7 +398,7 @@ impl ConfigClient {
|
|||||||
/// Returns: (host, username)
|
/// Returns: (host, username)
|
||||||
fn get_ssh_tokens(host_key: &str) -> (String, String) {
|
fn get_ssh_tokens(host_key: &str) -> (String, String) {
|
||||||
let tokens: Vec<&str> = host_key.split('@').collect();
|
let tokens: Vec<&str> = host_key.split('@').collect();
|
||||||
assert_eq!(tokens.len(), 2);
|
assert!(tokens.len() >= 2);
|
||||||
(String::from(tokens[1]), String::from(tokens[0]))
|
(String::from(tokens[1]), String::from(tokens[0]))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -30,9 +30,7 @@ pub fn init(level: LogLevel) -> Result<(), String> {
|
|||||||
let file: File = open_file(log_file_path.as_path(), true, true, false)
|
let file: File = open_file(log_file_path.as_path(), true, true, false)
|
||||||
.map_err(|e| format!("Failed to open file {}: {}", log_file_path.display(), e))?;
|
.map_err(|e| format!("Failed to open file {}: {}", log_file_path.display(), e))?;
|
||||||
// Prepare log config
|
// Prepare log config
|
||||||
let config = ConfigBuilder::new()
|
let config = ConfigBuilder::new().set_time_format_rfc3339().build();
|
||||||
.set_time_format_str("%Y-%m-%dT%H:%M:%S%z")
|
|
||||||
.build();
|
|
||||||
// Make logger
|
// Make logger
|
||||||
WriteLogger::init(level, config, file)
|
WriteLogger::init(level, config, file)
|
||||||
.map_err(|e| format!("Failed to initialize logger: {}", e))
|
.map_err(|e| format!("Failed to initialize logger: {}", e))
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/// Read a secret from tty with customisable prompt
|
/// Read a secret from tty with customisable prompt
|
||||||
pub fn read_secret_from_tty(prompt: &str) -> std::io::Result<Option<String>> {
|
pub fn read_secret_from_tty(prompt: &str) -> std::io::Result<Option<String>> {
|
||||||
match rpassword::read_password_from_tty(Some(prompt)) {
|
match rpassword::prompt_password(prompt) {
|
||||||
Ok(p) if p.is_empty() => Ok(None),
|
Ok(p) if p.is_empty() => Ok(None),
|
||||||
Ok(p) => Ok(Some(p)),
|
Ok(p) => Ok(Some(p)),
|
||||||
Err(err) => Err(err),
|
Err(err) => Err(err),
|
||||||
|
|||||||
Reference in New Issue
Block a user