2020-03-15 20:42:15 +03:00
|
|
|
[package]
|
2020-03-18 15:29:03 +03:00
|
|
|
name = "gitui"
|
2022-11-22 13:07:41 +03:00
|
|
|
version = "0.22.1"
|
2022-02-22 01:33:03 +03:00
|
|
|
authors = ["extrawurst <mail@rusticorn.com>"]
|
2020-03-18 13:40:54 +03:00
|
|
|
description = "blazing fast terminal-ui for git"
|
2022-08-17 17:30:54 +03:00
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.60"
|
2021-11-28 15:38:44 +03:00
|
|
|
exclude = [".github/*", ".vscode/*", "assets/*"]
|
2020-03-27 04:05:57 +03:00
|
|
|
homepage = "https://github.com/extrawurst/gitui"
|
2020-04-28 12:15:05 +03:00
|
|
|
repository = "https://github.com/extrawurst/gitui"
|
2020-03-24 22:59:51 +03:00
|
|
|
readme = "README.md"
|
2020-03-24 23:22:56 +03:00
|
|
|
license = "MIT"
|
2020-03-24 23:20:06 +03:00
|
|
|
categories = ["command-line-utilities"]
|
2020-03-25 22:45:25 +03:00
|
|
|
keywords = [
|
2020-04-30 17:08:43 +03:00
|
|
|
"git",
|
2020-03-25 22:45:25 +03:00
|
|
|
"gui",
|
2020-04-30 17:08:43 +03:00
|
|
|
"cli",
|
|
|
|
"terminal",
|
2020-03-25 22:45:25 +03:00
|
|
|
"ui",
|
|
|
|
]
|
2020-03-15 20:42:15 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2021-11-28 15:38:44 +03:00
|
|
|
anyhow = "1.0"
|
2022-11-22 13:14:22 +03:00
|
|
|
asyncgit = { path = "./asyncgit", version = "0.22", default-features = false }
|
2021-11-28 15:38:44 +03:00
|
|
|
backtrace = "0.3"
|
2021-11-28 16:41:17 +03:00
|
|
|
bitflags = "1.3"
|
2022-08-06 18:00:19 +03:00
|
|
|
bugreport = "0.5"
|
2021-11-28 16:41:17 +03:00
|
|
|
bytesize = { version = "1.1", default-features = false }
|
2022-08-17 20:05:12 +03:00
|
|
|
chrono = { version = "0.4", default-features = false, features = [ "clock" ] }
|
2022-11-14 18:08:42 +03:00
|
|
|
clap = { version = "4.0", features = [ "env", "cargo" ] }
|
2021-11-28 15:38:44 +03:00
|
|
|
crossbeam-channel = "0.5"
|
2022-08-17 22:46:55 +03:00
|
|
|
crossterm = { version = "0.25", features = [ "serde" ] }
|
2021-11-28 15:38:44 +03:00
|
|
|
dirs-next = "2.0"
|
2022-08-22 05:10:53 +03:00
|
|
|
easy-cast = "0.5"
|
2022-01-30 21:28:45 +03:00
|
|
|
filetreelist = { path = "./filetreelist", version = "0.5" }
|
2021-11-28 15:38:44 +03:00
|
|
|
fuzzy-matcher = "0.3"
|
2021-11-28 16:41:17 +03:00
|
|
|
gh-emoji = { version = "1.0", optional = true }
|
2020-12-28 09:09:18 +03:00
|
|
|
itertools = "0.10"
|
2020-03-20 20:28:42 +03:00
|
|
|
log = "0.4"
|
2022-09-02 10:59:13 +03:00
|
|
|
notify = "5.0"
|
|
|
|
notify-debouncer-mini = "0.2"
|
2022-09-02 10:17:34 +03:00
|
|
|
once_cell = "1"
|
2021-11-28 15:38:44 +03:00
|
|
|
rayon-core = "1.9"
|
2022-08-17 17:40:08 +03:00
|
|
|
ron = "0.8"
|
2021-11-28 15:38:44 +03:00
|
|
|
scopeguard = "1.1"
|
|
|
|
scopetime = { path = "./scopetime", version = "0.1" }
|
2020-05-22 13:44:17 +03:00
|
|
|
serde = "1.0"
|
2022-08-17 17:30:54 +03:00
|
|
|
simplelog = { version = "0.12", default-features = false }
|
2022-09-18 16:02:01 +03:00
|
|
|
syntect = { version = "5.0", default-features = false, features = ["parsing", "default-syntaxes", "default-themes", "html"] }
|
2022-11-19 19:14:06 +03:00
|
|
|
textwrap = "0.16"
|
2022-08-17 22:46:55 +03:00
|
|
|
tui = { version = "0.19", default-features = false, features = ['crossterm', 'serde'] }
|
2022-09-14 05:14:55 +03:00
|
|
|
unicode-segmentation = "1.10"
|
2021-11-28 15:38:44 +03:00
|
|
|
unicode-truncate = "0.2"
|
|
|
|
unicode-width = "0.1"
|
2022-09-01 05:17:28 +03:00
|
|
|
which = "4.3"
|
2020-11-01 03:22:03 +03:00
|
|
|
|
2020-12-12 16:12:12 +03:00
|
|
|
# pprof is not available on windows
|
2020-07-04 17:24:51 +03:00
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
2022-11-08 05:04:34 +03:00
|
|
|
pprof = { version = "0.11", features = ["flamegraph"], optional = true }
|
2020-03-22 04:17:03 +03:00
|
|
|
|
2021-06-05 23:52:46 +03:00
|
|
|
[dev-dependencies]
|
2022-08-30 14:46:06 +03:00
|
|
|
pretty_assertions = "1.3"
|
2021-06-05 23:52:46 +03:00
|
|
|
|
2020-06-23 13:24:57 +03:00
|
|
|
[badges]
|
|
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
|
2020-03-22 04:17:03 +03:00
|
|
|
[features]
|
2022-09-18 16:02:01 +03:00
|
|
|
default =["ghemoji", "regex-fancy", "trace-libgit", "vendor-openssl"]
|
2021-11-28 15:38:44 +03:00
|
|
|
ghemoji =["gh-emoji"]
|
2022-09-18 16:02:01 +03:00
|
|
|
# regex-* features are mutually exclusive.
|
|
|
|
regex-fancy = ["syntect/regex-fancy"]
|
|
|
|
regex-onig = ["syntect/regex-onig"]
|
2021-11-28 15:38:44 +03:00
|
|
|
timing =["scopetime/enabled"]
|
|
|
|
trace-libgit =["asyncgit/trace-libgit"]
|
2022-09-18 16:02:01 +03:00
|
|
|
vendor-openssl = ["asyncgit/vendor-openssl"]
|
2020-03-24 20:02:58 +03:00
|
|
|
|
|
|
|
[workspace]
|
2021-11-28 15:38:44 +03:00
|
|
|
members =[
|
2020-03-24 20:02:58 +03:00
|
|
|
"asyncgit",
|
2021-05-28 12:10:11 +03:00
|
|
|
"filetreelist",
|
2021-11-28 15:38:44 +03:00
|
|
|
"scopetime",
|
2020-04-08 01:44:13 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[profile.release]
|
2020-05-19 21:19:30 +03:00
|
|
|
lto = true
|
2020-04-08 01:44:13 +03:00
|
|
|
opt-level = 'z' # Optimize for size.
|
2020-05-28 00:52:53 +03:00
|
|
|
codegen-units = 1
|
2020-12-12 16:12:12 +03:00
|
|
|
|
|
|
|
# make debug build as fast as release
|
|
|
|
# usage of utf8 encoding inside tui
|
|
|
|
# makes their debug profile slow
|
|
|
|
[profile.dev.package."tui"]
|
2022-11-19 19:39:11 +03:00
|
|
|
opt-level = 3
|