gitui/Cargo.toml

93 lines
2.3 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"
2021-12-09 01:24:01 +03:00
version = "0.19.0"
2020-03-15 20:42:15 +03:00
authors = ["Stephan Dilly <dilly.stephan@gmail.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-22 03:27:20 +03:00
asyncgit = { path = "./asyncgit", version = "0.20", 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"
2021-11-28 15:38:44 +03:00
bugreport = "0.4"
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"
filetreelist = { path = "./filetreelist", version = "0.4" }
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 }
2021-11-28 16:41:17 +03:00
syntect = { version = "4.6", default-features = false, features = ["metadata", "default-fancy"] }
textwrap = "0.14"
tui = { version = "0.16", default-features = false, features = ['crossterm', 'serde'] }
2021-11-28 16:41:17 +03:00
unicode-segmentation = "1.8"
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"