Skip to content

Commit 47e2f93

Browse files
authored
Merge branch 'main' into no_unsafe
2 parents dd0bc89 + c5bdac2 commit 47e2f93

23 files changed

+561
-823
lines changed

Cargo.lock

Lines changed: 502 additions & 326 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ members = ["ascii", "image", "manifest"]
1111
[workspace.dependencies]
1212
owo-colors = "4.2.3"
1313
anyhow = "1.0"
14-
clap = { version = "4.5.43", features = ["derive"] }
14+
clap = { version = "4.5.53", features = ["derive"] }
1515
image = { version = "0.25.9", default-features = false, features = [
1616
"color_quant",
1717
"jpeg",
@@ -32,15 +32,14 @@ exclude = ["docs/vercel/*"]
3232
keywords = ["git", "cli", "terminal"]
3333
name = "onefetch"
3434
homepage = "https://onefetch.dev"
35-
rust-version = "1.82.0"
35+
rust-version = "1.88.0"
3636

3737
[dependencies]
3838
anyhow.workspace = true
3939
askalono = "0.5.0"
40-
byte-unit = "5.1.6"
40+
byte-unit = "5.2.0"
4141
clap.workspace = true
42-
clap-cargo = "0.15.2"
43-
clap_complete = "4.5.55"
42+
clap_complete = "4.5.61"
4443
crossbeam-channel = "0.5.15"
4544
gix = { version = "0.73.0", default-features = false, features = [
4645
"max-performance-safe",
@@ -50,30 +49,30 @@ gix = { version = "0.73.0", default-features = false, features = [
5049
"status",
5150
] }
5251
gix-features = { version = "0.43.1", features = ["zlib-ng"] }
53-
globset = "0.4.16"
54-
human-panic = "2.0.3"
52+
globset = "0.4.18"
53+
human-panic = "2.0.4"
5554
image.workspace = true
5655
num-format = "0.4.4"
5756
onefetch-ascii = { path = "ascii", version = "2.19.0" }
5857
onefetch-image = { path = "image", version = "2.19.0" }
5958
onefetch-manifest = { path = "manifest", version = "2.19.0" }
6059
owo-colors.workspace = true
61-
regex = "1.11.1"
60+
regex = "1.12.2"
6261
serde = "1.0"
6362
serde_json = "1.0"
6463
serde_yaml = "0.9.34"
6564
# TODO With the new value parsers, we're really close to being able to eliminate
6665
# the strum dependency
6766
strum.workspace = true
68-
time = { version = "0.3.41", features = ["formatting"] }
67+
time = { version = "0.3.44", features = ["formatting"] }
6968
time-humanize = { version = "0.1.3", features = ["time"] }
70-
tokei = "13.0.0-alpha.9"
69+
tokei = "13.0.0"
7170
typetag = "0.2"
7271

7372
[dev-dependencies]
7473
criterion = "0.7.0"
7574
gix-testtools = "0.16.1"
76-
insta = { version = "1.43.1", features = ["json", "redactions"] }
75+
insta = { version = "1.44.3", features = ["json", "redactions"] }
7776
rstest = "0.26.1"
7877

7978
[[bench]]
@@ -91,7 +90,7 @@ tera = { version = "1", default-features = false }
9190
winres = "0.1"
9291

9392
[target.'cfg(windows)'.dependencies]
94-
enable-ansi-support = "0.2.1"
93+
enable-ansi-support = "0.3.1"
9594

9695
[features]
9796
fail-on-deprecated = []

README.md

Lines changed: 25 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,38 @@
1-
<h3 align="center"><img src="assets/onefetch.svg" height="130px"></h3>
1+
<div align="center">
22

3-
<h5 align="center">Command-line Git information tool written in Rust</h5>
3+
<img src="assets/onefetch.svg" height=120px>
44

5-
<p align="center">
6-
<a href="https://crates.io/crates/onefetch"><img src="https://img.shields.io/crates/v/onefetch.svg" alt="cargo"></a>
7-
<a href="https://github.com/o2sh/onefetch/actions"><img src="https://github.com/o2sh/onefetch/workflows/CI/badge.svg" alt="Build Status"></a>
8-
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
9-
<a href="LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
10-
<img src="assets/msrv-badge.svg">
11-
</p>
5+
<h5>Command-line Git information tool written in Rust</h5>
126

13-
<p align="center">
14-
<a href="docs/README.ar.md">العربية</a> |
15-
<a href="docs/README.cs.md">Česky</a> |
16-
<a href="docs/README.cn.md">简体中文</a> |
17-
<a href="docs/README.de.md">Deutsch</a> |
18-
<a href="docs/README.es.md">Español</a> |
19-
<a href="docs/README.fa.md">فارسی</a> |
20-
<a href="docs/README.fr.md">Français</a> |
21-
<a href="docs/README.it.md">Italiano</a> |
22-
<a href="docs/README.ja.md">日本語</a> |
23-
<a href="docs/README.kr.md">한국어</a> |
24-
<a href="docs/README.ru.md">Русский</a> |
25-
<a href="docs/README.tr.md">Türkçe</a> |
26-
<a href="docs/README.pl.md">Polski</a>
27-
</p>
7+
[![Github release](https://img.shields.io/github/v/release/o2sh/onefetch?logo=github)](https://github.com/o2sh/onefetch/releases)
8+
[![Build Status](https://github.com/o2sh/onefetch/workflows/CI/badge.svg)](https://github.com/o2sh/onefetch/actions)
9+
[![help wanted](https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green)](https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22)
10+
![MSRV](assets/msrv-badge.svg)
2811

29-
<img src="assets/screenshot-1.png" align="right" height="250px">
12+
<h3>
3013

31-
Onefetch is a command-line Git information tool written in `Rust` that displays project information and code statistics for a local Git repository directly to your terminal. The tool is completely offline - no network access is required.
14+
[Homepage](https://onefetch.dev/) | [Installation](https://github.com/o2sh/onefetch/wiki/Installation) | [Documentation](https://github.com/o2sh/onefetch/wiki/)
3215

33-
By default, the repo's information is displayed alongside the dominant language's logo, but you can further configure onefetch to instead use an image - on supported terminals -, a text input or nothing at all.
16+
</h3>
3417

35-
It automatically detects open source licenses from texts and provides the user with valuable information like language distribution, pending changes, number of dependencies (by package manager), top contributors (by number of commits), size on disk, creation date, LOC (lines of code), etc.
18+
</div>
3619

37-
<img src="assets/screenshot-2.png" align="right" height="250px">
20+
---
3821

39-
Onefetch can be configured via command-line flags to display exactly what you want, the way you want it to: you can customize ASCII/Text formatting, disable info lines, ignore files & directories, output in multiple formats (Json, Yaml), etc.
22+
<img src="assets/screenshot-2.png" align="right" height="270px">
4023

41-
As of now, onefetch supports more than [100 different programming languages](https://onefetch.dev); if your language of choice isn't supported: Open up an issue and support will be added.
24+
Onefetch is a command-line Git information tool written in `Rust` that displays project information and code statistics for a local Git repository directly in your terminal.
4225

43-
Contributions are very welcome! See [CONTRIBUTING](CONTRIBUTING.md) for more info.
26+
The tool works completely offline with a focus on performance and customizability.
27+
28+
By default, repository information is shown alongside the dominant language’s ASCII logo, but you can configure onefetch to display an image on [supported terminals](https://github.com/o2sh/onefetch/wiki/images-in-the-terminal).
29+
30+
It automatically detects open-source licenses from their text and provides valuable information such as language distribution, pending changes, dependency counts (per package manager), top contributors (by number of commits), disk usage, creation date, lines of code (LOC), and more.
4431

45-
*Artwork by @Kuvshinov_Ilya*
32+
<img src="assets/screenshot-1.png" align="right" height="270px">
4633

47-
### More: \[[Wiki](https://github.com/o2sh/onefetch/wiki)\] \[[Installation](https://github.com/o2sh/onefetch/wiki/Installation)\] \[[Getting Started](https://github.com/o2sh/onefetch/wiki/getting-started)\]
34+
Onefetch can be customized via [command-line options](https://github.com/o2sh/onefetch/wiki/command-line-options) to display exactly what you want, the way you want it: adjust the text styling, disable info lines, ignore files and directories, output in multiple formats (JSON, YAML), etc.
35+
36+
Currently, onefetch supports more than [100 different programming languages](https://onefetch.dev); if your language of choice isn't supported: Open an issue and support will be added.
37+
38+
Contributions are very welcome! See [CONTRIBUTING](CONTRIBUTING.md) for more info.

assets/msrv-badge.svg

Lines changed: 1 addition & 1 deletion
Loading

assets/screenshot-1.png

-105 KB
Loading

assets/screenshot-2.png

-4.67 KB
Loading

docs/README.ar.md

Lines changed: 0 additions & 67 deletions
This file was deleted.

docs/README.cn.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

docs/README.cs.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)