2018-09-14 22:56:14 +00:00
|
|
|
[package]
|
2021-03-15 21:52:07 +00:00
|
|
|
authors = ["o2sh <ossama-hjaji@live.fr>"]
|
2021-10-24 12:04:08 +00:00
|
|
|
categories = ["command-line-utilities"]
|
2022-09-04 19:09:32 +00:00
|
|
|
description = "Git repository summary in your terminal"
|
2020-08-21 23:24:55 +00:00
|
|
|
edition = "2018"
|
2022-07-29 18:41:22 +00:00
|
|
|
exclude = ["assets/*", "docs/vercel/*"]
|
2022-08-25 16:16:19 +00:00
|
|
|
keywords = ["git", "cli", "terminal"]
|
2021-03-15 21:52:07 +00:00
|
|
|
license = "MIT"
|
2018-09-14 22:56:14 +00:00
|
|
|
name = "onefetch"
|
2018-11-13 19:46:15 +00:00
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/o2sh/onefetch"
|
2022-05-21 12:08:43 +00:00
|
|
|
rust-version = "1.60.0"
|
2022-03-29 20:25:11 +00:00
|
|
|
version = "2.12.0"
|
2018-09-14 22:56:14 +00:00
|
|
|
|
2020-08-02 21:04:24 +00:00
|
|
|
[package.metadata.deb]
|
2021-03-15 21:52:07 +00:00
|
|
|
depends = "$auto"
|
2020-08-02 21:04:24 +00:00
|
|
|
extended-description = """\
|
2021-01-09 20:01:39 +00:00
|
|
|
Onefetch is a command-line Git information tool written in Rust \
|
|
|
|
that displays project information and code statistics \
|
2022-09-04 19:09:32 +00:00
|
|
|
for a local Git repository directly in your terminal."""
|
2021-03-15 21:52:07 +00:00
|
|
|
maintainer = "o2sh <ossama-hjaji@live.fr>"
|
2020-08-02 21:04:24 +00:00
|
|
|
priority = "optional"
|
2021-03-15 21:52:07 +00:00
|
|
|
section = "utility"
|
2020-08-02 21:04:24 +00:00
|
|
|
|
2018-09-14 22:56:14 +00:00
|
|
|
[dependencies]
|
2022-08-01 18:27:54 +00:00
|
|
|
anyhow = "1.0.59"
|
2022-08-05 21:14:55 +00:00
|
|
|
askalono = "0.4.6"
|
2022-05-19 12:19:29 +00:00
|
|
|
byte-unit = "4.0.14"
|
2022-06-08 15:40:08 +00:00
|
|
|
bytecount = "0.6.3"
|
2022-09-22 21:27:30 +00:00
|
|
|
clap = { version = "3.2.22", features = ["derive"] }
|
2022-09-18 09:19:27 +00:00
|
|
|
clap_complete = "3.2.5"
|
2021-03-15 21:52:07 +00:00
|
|
|
color_quant = "1.1.0"
|
Make sure the fastest available zlib configuration is used in `gitoxide`.
To explain: `git-repository` is using the `max-performance-safe` feature
because there are compile issues with `sha1-asm` on windows-msvc which
thus far was elusive to a fix via cargo manifests, which would be pulled
in with `max-performance`.
However, doing so recently also excluded the `zlib-ng-compat` feature
as it has side-effects if `git2` is in the same tree, making
decompressions of objects spuriously fail there during fetches.
Fortunately, in `onefetch` that has never been a problem as it doesn't
fetch (despite the name ;)).
Adding `git-features` as a dependency for the purpose of adding features
makes re-enabling of this performance feature possible. This comes at
the cost of now having to update two crate versions, instead of just
one, to keep them in sync.
Fortunately that's the only issue with this, and it's worth considering
adding another `max-performance-safe-with-zlib-ng` feature to
compensate. The reason it doesn't exist yet is it's lack of scalability:
there are many different zlib configurations, and we don't want to
expose them all in `git-repository`, now or in future. However, common
scenarios should still be facilitated by `git-repository` features, and
maybe this is one of them.
2022-09-18 14:47:31 +00:00
|
|
|
git-features-for-configuration-only = { package = "git-features", version = "0.22.4", features = ["zlib-ng-compat"] }
|
2022-09-18 09:19:27 +00:00
|
|
|
git-repository = { version = "0.23.1", default-features = false, features = [
|
2022-08-25 16:16:19 +00:00
|
|
|
"max-performance-safe",
|
|
|
|
"unstable",
|
|
|
|
] }
|
|
|
|
git2 = { version = "0.15.0", default-features = false }
|
2022-08-05 21:15:37 +00:00
|
|
|
image = "0.24.3"
|
2022-09-17 17:59:41 +00:00
|
|
|
owo-colors = "3.5.0"
|
2022-07-30 20:30:55 +00:00
|
|
|
regex = "1.6.0"
|
2022-09-17 18:14:32 +00:00
|
|
|
serde = "1.0.144"
|
2022-08-05 21:15:53 +00:00
|
|
|
serde_json = "1.0.83"
|
2022-09-17 17:43:00 +00:00
|
|
|
serde_yaml = "0.9.13"
|
2022-06-19 21:24:34 +00:00
|
|
|
# TODO With the new value parsers, we're really close to being able to eliminate
|
|
|
|
# the strum dependency
|
2022-08-25 16:16:19 +00:00
|
|
|
strum = { version = "0.24.1", features = ["derive"] }
|
2022-08-09 21:12:38 +00:00
|
|
|
terminal_size = "0.2"
|
2022-09-18 09:19:27 +00:00
|
|
|
time = { version = "0.3.14", features = ["formatting"] }
|
2022-08-25 16:16:19 +00:00
|
|
|
time-humanize = { version = "0.1.3", features = ["time"] }
|
2021-03-15 21:52:07 +00:00
|
|
|
tokei = "12.1.2"
|
2022-04-15 23:31:22 +00:00
|
|
|
toml = "0.5.9"
|
2022-05-19 12:19:29 +00:00
|
|
|
yaml-rust = "0.4.5"
|
2020-12-09 23:21:43 +00:00
|
|
|
|
2019-10-17 14:36:27 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2022-09-17 12:08:02 +00:00
|
|
|
enable-ansi-support = "0.1.2"
|
2019-10-26 14:42:16 +00:00
|
|
|
|
2020-10-15 22:01:20 +00:00
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
2020-10-01 06:17:52 +00:00
|
|
|
base64 = "0.13.0"
|
2022-05-19 12:19:29 +00:00
|
|
|
libc = "0.2.126"
|
2020-09-04 12:50:49 +00:00
|
|
|
|
2022-07-09 09:08:49 +00:00
|
|
|
[build-dependencies]
|
|
|
|
lazy_static = "1"
|
|
|
|
regex = "1"
|
|
|
|
serde_json = "1"
|
2022-08-05 20:41:00 +00:00
|
|
|
serde_yaml = "0.9"
|
2022-07-09 09:08:49 +00:00
|
|
|
tera = { version = "1", default-features = false }
|
2020-10-26 14:25:11 +00:00
|
|
|
|
|
|
|
[features]
|
2020-11-04 17:16:51 +00:00
|
|
|
fail-on-deprecated = []
|