1
0
mirror of https://github.com/o2sh/onefetch synced 2024-07-02 15:48:51 +00:00
onefetch/Cargo.toml

73 lines
1.9 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"
2022-11-05 13:18:21 +00:00
edition = "2021"
2022-11-27 22:50:39 +00:00
exclude = ["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-12-03 18:35:15 +00:00
homepage = "https://onefetch.dev"
2022-11-13 21:38:25 +00:00
rust-version = "1.61.0"
2022-11-27 22:55:15 +00:00
version = "2.14.2"
2018-09-14 22:56:14 +00:00
[workspace]
2022-11-16 19:35:20 +00:00
members = ["image", "manifest"]
2018-09-14 22:56:14 +00:00
[dependencies]
anyhow = "1.0.66"
askalono = "0.4.6"
byte-unit = "4.0.18"
bytecount = "0.6.3"
clap = { version = "4.0.26", features = ["derive"] }
clap_complete = "4.0.3"
git-features-for-configuration-only = { package = "git-features", version = "0.23.1", features = [
"zlib-ng-compat",
] }
git-repository = { version = "0.30.2", default-features = false, features = [
"max-performance-safe",
] }
git2 = { version = "0.15.0", default-features = false }
2022-12-03 12:10:57 +00:00
human-panic = "1.0.3"
2022-11-16 19:35:20 +00:00
image = "0.24.4"
num-format = "0.4.4"
2022-11-16 19:35:20 +00:00
onefetch-image = { path = "image", version = "2.13.2" }
onefetch-manifest = { path = "manifest", version = "2.13.2" }
owo-colors = "3.5.0"
regex = "1.6.0"
serde = "1.0.147"
serde_json = "1.0.89"
serde_yaml = "0.9.14"
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.17", features = ["formatting"] }
time-humanize = { version = "0.1.3", features = ["time"] }
2021-03-15 21:52:07 +00:00
tokei = "12.1.2"
typetag = "0.2"
2022-05-19 12:19:29 +00:00
yaml-rust = "0.4.5"
2020-12-09 23:21:43 +00:00
[dev-dependencies]
git-testtools = "0.10.0"
insta = { version = "1.22.0", features = ["json", "redactions"] }
2022-11-16 19:35:20 +00:00
pretty_assertions = "1.3.0"
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
2022-11-27 17:42:55 +00:00
[target.'cfg(windows)'.build-dependencies]
winres = "0.1"
[target.'cfg(windows)'.dependencies]
enable-ansi-support = "0.2.1"
2020-10-26 14:25:11 +00:00
[features]
fail-on-deprecated = []