1
0
mirror of https://github.com/o2sh/onefetch synced 2024-07-04 16:49:11 +00:00
onefetch/Cargo.toml

76 lines
2.0 KiB
TOML
Raw Normal View History

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-10-23 10:25:01 +00:00
description = "Command-line Git information tool"
edition = "2018"
2022-07-29 18:41:22 +00:00
exclude = ["assets/*", "docs/vercel/*"]
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-10-22 15:34:17 +00:00
version = "2.13.1"
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-10-15 22:02:21 +00:00
for a local Git repository directly to 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
[dev-dependencies]
git-testtools = "0.9.0"
2018-09-14 22:56:14 +00:00
[dependencies]
anyhow = "1.0.65"
askalono = "0.4.6"
2022-05-19 12:19:29 +00:00
byte-unit = "4.0.14"
bytecount = "0.6.3"
clap = { version = "4.0.15", features = ["derive"] }
clap_complete = "4.0.2"
2021-03-15 21:52:07 +00:00
color_quant = "1.1.0"
git-features-for-configuration-only = { package = "git-features", version = "0.22.4", features = [
"zlib-ng-compat",
] }
git-repository = { version = "0.23.1", default-features = false, features = [
"max-performance-safe",
"unstable",
] }
git2 = { version = "0.15.0", default-features = false }
image = "0.24.4"
owo-colors = "3.5.0"
regex = "1.6.0"
serde = "1.0.145"
serde_json = "1.0.85"
serde_yaml = "0.9.13"
Bump clap from 3.1.18 to 3.2.5 and use clap derive (#685) * Bump clap from 3.1.18 to 3.2.1 Bumps [clap](https://github.com/clap-rs/clap) from 3.1.18 to 3.2.1. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v3.1.18...clap_complete-v3.2.1) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Sync clap and clap_complete versions * Fix deprecations for completion arg * Use `value_parser` for `TYPE` arg * Use `value_parser` for `authors-number` * Remove deprecated methods for `disable-fields` * Remove unused function * Fix deprecated CLI setup for `no-bots` The nice part about this is that now the regex is only parsed once instead of twice. * Fix deprecations for `--ascii-colors` and `--text-colors` * Fix deprecations for `--true-color` * Fix deprecations for `--ascii-input` * Fix deprecations for `--ascii-language` * Fix deprecations for `--color-resolution` * Fix deprecations for `--image-backend` * Fix deprecations for `--show-logo` * Fix deprecations for `-o` * Fix deprecation for `--image` * Fix deprecations for `--exclude` * Fix deprecation for positional input arg Error handling replaced with unwrap because the value parser should enforce that a valid path was passed at the command-line. * Use `SetTrue` actions for CLI flags * Remove unused imports * Replace unwrap or `Vec::new` with unwrap or default Resolves clippy errors. Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr> * Remove unnecessary `.clone` call Fixes clippy warning. * use Vec<u8> instead of Vec<String> for text-colors and ascii-colors * use PathBuf instead of String * use clap derive -- wip * use clap derive -- wip * use clap derive -- wip * bump clap to latest * switch to cargo derive * fix ci * add clap ArgEnum to oupt serialization format Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Spenser Black <spenserblack01@gmail.com> Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
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
strum = { version = "0.24.1", features = ["derive"] }
terminal_size = "0.2"
time = { version = "0.3.15", features = ["formatting"] }
time-humanize = { version = "0.1.3", features = ["time"] }
2021-03-15 21:52:07 +00:00
tokei = "12.1.2"
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]
enable-ansi-support = "0.1.2"
[target.'cfg(not(windows))'.dependencies]
base64 = "0.13.0"
libc = "0.2.134"
2020-09-04 12:50:49 +00:00
[build-dependencies]
lazy_static = "1"
regex = "1"
serde_json = "1"
serde_yaml = "0.9"
tera = { version = "1", default-features = false }
2020-10-26 14:25:11 +00:00
[features]
fail-on-deprecated = []