Skip to content

Commit

Permalink
deps: bump root + lock deps as of 2024-06-27 (#1488)
Browse files Browse the repository at this point in the history
* deps: bump root deps as of 2024-06-27

* deps: bump lock as well

* also bump unicode_ellipsis
  • Loading branch information
ClementTsang authored Jun 28, 2024
1 parent 615ae1a commit 28416dd
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 43 deletions.
71 changes: 36 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,19 +100,19 @@ sysinfo = "=0.30.12"
thiserror = "1.0.61"
time = { version = "0.3.36", features = ["formatting", "macros"] }
toml_edit = { version = "0.22.14", features = ["serde"] }
tui = { version = "0.26.3", package = "ratatui" }
unicode-ellipsis = "0.1.4"
tui = { version = "0.27.0", package = "ratatui" }
unicode-ellipsis = "0.2.0"
unicode-segmentation = "1.11.0"
unicode-width = "0.1.13"

# Used for logging.
fern = { version = "0.6.2", optional = true }
log = { version = "0.4.21", optional = true }
log = { version = "0.4.22", optional = true }

# These are just used for for schema generation.
schemars = { version = "0.8.21", optional = true }
serde_json = { version = "1.0.117", optional = true }
strum = { version = "0.26", features = ["derive"], optional = true }
serde_json = { version = "1.0.118", optional = true }
strum = { version = "0.26.3", features = ["derive"], optional = true }

[target.'cfg(unix)'.dependencies]
libc = "0.2.155"
Expand All @@ -136,7 +136,7 @@ windows = { version = "0.57.0", features = [
] }

[target.'cfg(target_os = "freebsd")'.dependencies]
serde_json = { version = "1.0.117" }
serde_json = { version = "1.0.118" }
sysctl = { version = "0.5.5" }
filedescriptor = "0.8.2"

Expand All @@ -150,7 +150,7 @@ portable-pty = "0.8.1"

[build-dependencies]
clap = { version = "4.5.7", features = ["default", "cargo", "wrap_help", "derive"] }
clap_complete = "4.5.5"
clap_complete = "4.5.6"
clap_complete_nushell = "4.5.2"
clap_complete_fig = "4.5.1"
clap_mangen = "0.2.21"
Expand Down
2 changes: 1 addition & 1 deletion src/utils/strings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use unicode_ellipsis::truncate_str;
/// TODO: Maybe cache results from this function for some cases? e.g. columns
#[inline]
pub fn truncate_to_text<'a, U: Into<usize>>(content: &str, width: U) -> Text<'a> {
Text::raw(truncate_str(content, width.into()))
Text::raw(truncate_str(content, width.into()).to_string())
}

/// Checks that the first string is equal to any of the other ones in a ASCII
Expand Down

0 comments on commit 28416dd

Please sign in to comment.