File tree Expand file tree Collapse file tree 7 files changed +35
-22
lines changed
function_history_backend_thread Expand file tree Collapse file tree 7 files changed +35
-22
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " cargo-function-history"
3
- version = " 0.2.0 "
3
+ version = " 0.2.1 "
4
4
edition = " 2021"
5
5
license = " MIT"
6
6
repository = " https://github.com/mendelsshop/git_function_history/tree/main/cargo-function-history"
@@ -10,13 +10,13 @@ description = "cargo frontend for git-function-history"
10
10
11
11
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
12
12
13
- # [features]
14
- # default = ["parallel"]
15
- # parallel = ["git_function_history/parallel", "function_history_backend_thread/parallel"]
16
- # not-parallel = ["git_function_history/default-features" ]
13
+ [features ]
14
+ default = [" parallel" ]
15
+ parallel = [" git_function_history/parallel" , " function_history_backend_thread/parallel" ]
16
+ not-parallel = []
17
17
18
18
[dependencies ]
19
- git_function_history = { path = " ../git-function-history-lib" , version = " 0.6.0 " }
19
+ git_function_history = { path = " ../git-function-history-lib" , version = " 0.6.2 " , default-features = false }
20
20
lazy_static = " 1.3.0"
21
21
tui = { version = " 0.19" , features = [" crossterm" ], default-features = false }
22
22
crossterm = " 0.25.0"
@@ -25,5 +25,5 @@ eyre = "0.6"
25
25
dirs = " 4.0.0"
26
26
simple_file_logger = " 0.2.0"
27
27
log = " 0.4"
28
- function_history_backend_thread = { path = " ../function_history_backend_thread" , version = " 0.2.0 " }
28
+ function_history_backend_thread = { path = " ../function_history_backend_thread" , version = " 0.2.2 " , default-features = false }
29
29
tui-input = " 0.5.1"
Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ A cargo frontend for the [git function history library](https://crates.io/crates
10
10
11
11
cargo install cargo-function-history
12
12
13
+ Or if you don't want use parallelism:
14
+
15
+ cargo install cargo-function-history --no-default-features
16
+
13
17
## Usage
14
18
15
19
` cargo function-history <function-name<:filename>> <options> `
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " function_history_backend_thread"
3
- version = " 0.2.1 "
3
+ version = " 0.2.2 "
4
4
edition = " 2021"
5
5
license = " MIT"
6
6
repository = " https://github.com/mendelsshop/git_function_history/tree/main/function_history_backend_thread"
@@ -11,11 +11,11 @@ description = "threading and types for git-function-history"
11
11
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
12
12
13
13
14
- # [features]
15
- # default = ["parallel"]
16
- # parallel = ["git_function_history/parallel"]
17
- # not-parallel = []
14
+ [features ]
15
+ default = [" parallel" ]
16
+ parallel = [" git_function_history/parallel" ]
17
+ not-parallel = []
18
18
19
19
[dependencies ]
20
- git_function_history = { path = " ../git-function-history-lib" , version = " 0.6.1 " }
20
+ git_function_history = { path = " ../git-function-history-lib" , version = " 0.6.2 " , default-features = false }
21
21
log = " 0.4"
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " git-function-history-gui"
3
- version = " 0.4.0 "
3
+ version = " 0.4.1 "
4
4
edition = " 2021"
5
5
license = " MIT"
6
6
repository = " https://github.com/mendelsshop/git_function_history/tree/main/git-function-history-gui"
@@ -10,15 +10,15 @@ description = "GUI frontend for git-function-history"
10
10
11
11
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
12
12
13
- # [features]
14
- # default = ["parallel"]
15
- # parallel = ["git_function_history/parallel", "function_history_backend_thread/parallel"]
16
- # not-parallel = ["git_function_history/default-features" ]
13
+ [features ]
14
+ default = [" parallel" ]
15
+ parallel = [" git_function_history/parallel" , " function_history_backend_thread/parallel" ]
16
+ not-parallel = []
17
17
18
18
[dependencies ]
19
19
eframe = {version = " 0.19.0" , features = [" dark-light" ]}
20
- git_function_history = { path = " ../git-function-history-lib" , version = " 0.6.0 " }
21
- function_history_backend_thread = { path = " ../function_history_backend_thread" , version = " 0.2.0 " }
20
+ git_function_history = { path = " ../git-function-history-lib" , version = " 0.6.2 " , default-features = false }
21
+ function_history_backend_thread = { path = " ../function_history_backend_thread" , version = " 0.2.2 " , default-features = false }
22
22
simple_file_logger = " 0.2.0"
23
23
log = " 0.4.17"
24
24
image = " 0.24"
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ A GUI frontend for the [git function history library](https://crates.io/crates/g
8
8
9
9
cargo install git-function-history-gui
10
10
11
+ or if you don't want to use parallelism:
12
+
13
+ cargo install git-function-history-gui --no-default-features
14
+
11
15
### Note
12
16
13
17
Under Linux you may need to install the following packages:
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " git_function_history"
3
- version = " 0.6.1 "
3
+ version = " 0.6.2 "
4
4
edition = " 2021"
5
5
license = " MIT"
6
6
repository = " https://github.com/mendelsshop/git_function_history/tree/main/git-function-history-lib"
Original file line number Diff line number Diff line change 5
5
6
6
Show the git history of a function or method.
7
7
Use the latest (beta) version by putting ` "git_function_history" = { git = 'https://github.com/mendelsshop/git_function_history' } ` in your cargo.toml under ` [dependencies] ` section.
8
- Use the latest [ crates.io] ( https://crates.io/crates/git_function_history ) by putting ` git_function_history = "0.6.1" ` in your cargo.toml under ` [dependencies] ` section.
8
+ Use the latest [ crates.io] ( https://crates.io/crates/git_function_history ) by putting ` git_function_history = "0.6.2" ` in your cargo.toml under ` [dependencies] ` section.
9
+
10
+ ## features
11
+
12
+ - parallel: use rayon to parallelize the git log search
13
+ - --no-default-features: disable parallelism
You can’t perform that action at this time.
0 commit comments