gitui/Cargo.toml

93 lines
2.4 KiB
TOML
Raw Normal View History

2020-03-15 20:42:15 +03:00
[package]
2020-03-18 15:29:03 +03:00
name = "gitui"
2022-01-26 02:33:21 +03:00
version = "0.20.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"
2020-03-24 23:20:06 +03:00
edition = "2018"
2021-11-14 17:23:06 +03:00
rust-version = "1.50"
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"
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-01-30 21:28:45 +03:00
asyncgit = { path = "./asyncgit", version = "0.21", 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 }
2021-11-28 15:38:44 +03:00
chrono = "0.4"
2020-05-31 02:44:26 +03:00
clap = { version = "2.33", default-features = false }
2021-11-28 15:38:44 +03:00
crossbeam-channel = "0.5"
crossterm = { version = "0.20", features = [ "serde" ] }
2021-11-28 15:38:44 +03:00
dirs-next = "2.0"
easy-cast = "0.4"
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 }
itertools = "0.10"
2021-11-28 15:38:44 +03:00
lazy_static = "1.4"
2020-03-20 20:28:42 +03:00
log = "0.4"
2021-11-28 15:38:44 +03:00
rayon-core = "1.9"
ron = "0.7"
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"
2021-11-28 15:38:44 +03:00
simplelog = { version = "0.11", default-features = false }
syntect = { version = "5.0", default-features = false, features = ["parsing", "default-syntaxes", "default-themes", "html", "regex-fancy"] }
2022-08-15 14:00:50 +03:00
textwrap = "0.15"
tui = { version = "0.16", default-features = false, features = ['crossterm', 'serde'] }
unicode-segmentation = "1.9"
2021-11-28 15:38:44 +03:00
unicode-truncate = "0.2"
unicode-width = "0.1"
2020-07-04 16:59:32 +03:00
2020-12-22 17:52:33 +03:00
[target.'cfg(all(target_family="unix",not(target_os="macos")))'.dependencies]
2021-12-25 23:27:24 +03:00
which = "4.2"
# pprof is not available on windows
2020-07-04 17:24:51 +03:00
[target.'cfg(not(windows))'.dependencies]
2022-01-12 15:17:08 +03:00
pprof = { version = "=0.6.1", features = ["flamegraph"], optional = true }
[dev-dependencies]
pretty_assertions = "1.0"
2020-06-23 13:24:57 +03:00
[badges]
maintenance = { status = "actively-developed" }
[features]
2021-11-28 15:38:44 +03:00
default =["ghemoji", "trace-libgit"]
ghemoji =["gh-emoji"]
timing =["scopetime/enabled"]
trace-libgit =["asyncgit/trace-libgit"]
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",
"filetreelist",
2021-11-28 15:38:44 +03:00
"scopetime",
2020-04-08 01:44:13 +03:00
]
[profile.release]
lto = true
2020-04-08 01:44:13 +03:00
opt-level = 'z' # Optimize for size.
codegen-units = 1
# make debug build as fast as release
# usage of utf8 encoding inside tui
# makes their debug profile slow
[profile.dev.package."tui"]
2021-03-25 21:36:21 +03:00
opt-level = 3
[profile.dev]
2021-10-13 16:32:17 +03:00
split-debuginfo = "unpacked"