Skip to content

Commit ba139a0

Browse files
committed
Updating dependicies
1 parent dbfede9 commit ba139a0

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

cargo-function-history/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ parallel = ["git_function_history/parallel", "function_history_backend_thread/pa
1717

1818
[dependencies]
1919
git_function_history = { path = "../git-function-history-lib", version = "0.7.1", default-features = false}
20-
ratatui = { version = "0.28.0", features = ["crossterm"], default-features = false }
20+
ratatui = { version = "0.29.0", features = ["crossterm"], default-features = false }
2121
crossterm = "0.28.1"
22-
eyre = "0.6.11"
22+
eyre = "0.6.12"
2323
dirs = "5.0.1"
2424
simple_file_logger = "0.4.1"
25-
log = "0.4.20"
25+
log = "0.4.22"
2626
function_history_backend_thread = { path = "../function_history_backend_thread", version = "0.3.1", default-features = false}
27-
tui-textarea = "0.6.1"
27+
tui-textarea = "0.7.0"
2828
function-grep = { path = "../function-grep", version = "0.1.1", default-features = false}

git-function-history-lib/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ cache = ["dep:cached"]
2323
chrono = "0.4.38"
2424
rayon = { version = "1.10.0", optional = true }
2525
cfg-if = "1.0.0"
26-
cached = { version = "0.53.1", optional = true }
27-
gix = { version = "0.66.0", default-features = false, features = [
26+
cached = { version = "0.54.0", optional = true }
27+
gix = { version = "0.67.0", default-features = false, features = [
2828
"max-performance-safe",
2929
"revision",
3030
] }
31-
gix-features = { version = "0.38.2", features = [
31+
gix-features = { version = "0.39.0", features = [
3232
"zlib",
3333
"once_cell",
3434
"walkdir",

git-function-history-lib/src/lib.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,11 @@ pub fn get_function_history(
201201
.collect::<Box<[_]>>();
202202
let repo = gix::discover(".")?;
203203
let th_repo = repo.clone().into_sync();
204-
let commit_iter = repo
205-
.rev_walk(repo.head_id().map(gix::Id::detach))
206-
.sorting(gix::traverse::commit::simple::Sorting::ByCommitTimeNewestFirst);
204+
let commit_iter = repo.rev_walk(repo.head_id().map(gix::Id::detach)).sorting(
205+
gix::revision::walk::Sorting::ByCommitTime(
206+
gix::traverse::commit::simple::CommitTimeOrder::NewestFirst,
207+
),
208+
);
207209
let commit_iter = commit_iter.all()?.filter_map(|id| Some(id.ok()?.detach()));
208210
#[cfg(feature = "parallel")]
209211
let commit_iter = {

0 commit comments

Comments
 (0)