gitoxide 0.51.0

A command-line application for interacting with git repositories
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.82"
name = "gitoxide"
version = "0.51.0"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
build = "build.rs"
include = [
    "src/**/*",
    "/build.rs",
    "LICENSE-*",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "gix"
description = "A command-line application for interacting with git repositories"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "document-features",
    "max",
]

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/gitoxide-max-pure-v{ version }-{ target }{ archive-suffix }"
bin-dir = "gitoxide-max-pure-v{ version }-{ target }/{ bin }{ binary-ext }"

[features]
cache-efficiency-debug = ["gix-features/cache-efficiency-debug"]
default = ["max"]
fast = [
    "gix/max-performance",
    "gix/comfort",
]
fast-safe = ["fast"]
gitoxide-core-async-client = [
    "gitoxide-core/async-client",
    "futures-lite",
]
gitoxide-core-blocking-client = ["gitoxide-core/blocking-client"]
gitoxide-core-tools = [
    "gitoxide-core/organize",
    "gitoxide-core/estimate-hours",
    "gitoxide-core-tools-archive",
    "gitoxide-core-tools-clean",
]
gitoxide-core-tools-archive = ["gitoxide-core/archive"]
gitoxide-core-tools-clean = ["gitoxide-core/clean"]
gitoxide-core-tools-corpus = ["gitoxide-core/corpus"]
gitoxide-core-tools-query = ["gitoxide-core/query"]
http-client-curl = ["gix/blocking-http-transport-curl"]
http-client-curl-openssl = ["gix/blocking-http-transport-curl-openssl"]
http-client-curl-rustls = ["gix/blocking-http-transport-curl-rustls"]
http-client-reqwest = ["gix/blocking-http-transport-reqwest-rust-tls"]
lean = [
    "fast",
    "tracing",
    "pretty-cli",
    "http-client-curl-openssl",
    "gitoxide-core-tools-query",
    "gitoxide-core-tools-corpus",
    "gitoxide-core-tools",
    "gitoxide-core-blocking-client",
    "prodash-render-line",
]
lean-async = [
    "fast",
    "tracing",
    "pretty-cli",
    "gitoxide-core-tools",
    "gitoxide-core-tools-query",
    "gitoxide-core-tools-corpus",
    "gitoxide-core-async-client",
    "prodash-render-line",
]
max = [
    "max-control",
    "fast",
    "gitoxide-core-tools-query",
    "gitoxide-core-tools-corpus",
    "gitoxide-core-blocking-client",
    "http-client-curl-openssl",
]
max-control = [
    "tracing",
    "fast",
    "pretty-cli",
    "gitoxide-core-tools",
    "prodash-render-line",
    "prodash-render-tui",
    "prodash/render-line-autoconfigure",
    "gix/revparse-regex",
]
max-pure = [
    "max-control",
    "http-client-reqwest",
    "gitoxide-core-blocking-client",
]
pretty-cli = [
    "gitoxide-core/serde",
    "prodash/progress-tree",
    "prodash/progress-tree-log",
    "prodash/local-time",
    "env_logger/humantime",
    "env_logger/color",
    "env_logger/auto-color",
]
prodash-render-line = [
    "prodash/render-line",
    "prodash-render-line-crossterm",
    "gix/progress-tree",
]
prodash-render-line-crossterm = [
    "prodash-render-line",
    "prodash/render-line-crossterm",
    "prodash/signal-hook",
    "is-terminal",
    "crosstermion",
]
prodash-render-tui = [
    "prodash/render-tui",
    "prodash/render-tui-crossterm",
    "gix/progress-tree",
    "futures-lite",
]
small = [
    "pretty-cli",
    "prodash-render-line",
    "is-terminal",
]
tracing = [
    "dep:tracing-forest",
    "dep:tracing-subscriber",
    "dep:tracing",
    "gix-features/tracing",
    "gix-features/tracing-detail",
]

[lib]
name = "gitoxide"
path = "src/lib.rs"

[[bin]]
name = "ein"
path = "src/ein.rs"
test = false
doctest = false
doc = false

[[bin]]
name = "gix"
path = "src/gix.rs"
test = false
doctest = false
doc = false

[dependencies.anyhow]
version = "1.0.98"

[dependencies.clap]
version = "4.5.42"
features = [
    "derive",
    "cargo",
]

[dependencies.clap_complete]
version = "4.5.55"

[dependencies.crosstermion]
version = "0.16.0"
optional = true
default-features = false

[dependencies.document-features]
version = "0.2.0"
optional = true

[dependencies.env_logger]
version = "0.11.8"
default-features = false

[dependencies.futures-lite]
version = "2.1.0"
optional = true

[dependencies.gitoxide-core]
version = "^0.54.0"

[dependencies.gix]
version = "^0.80.0"
default-features = false

[dependencies.gix-features]
version = "^0.46.1"

[dependencies.is-terminal]
version = "0.4.0"
optional = true

[dependencies.prodash]
version = "31.0.0"
optional = true

[dependencies.serde_derive]
version = ">=1.0.185"

[dependencies.terminal_size]
version = "0.4.2"

[dependencies.tracing]
version = "0.1.37"
optional = true

[dependencies.tracing-forest]
version = "0.1.5"
features = ["serde"]
optional = true

[dependencies.tracing-subscriber]
version = "0.3.17"
optional = true

[lints.clippy]
bool_to_int_with_if = "allow"
borrow_as_ptr = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
checked_conversions = "allow"
copy_iterator = "allow"
default_trait_access = "allow"
doc_markdown = "allow"
empty_docs = "allow"
enum_glob_use = "allow"
explicit_deref_methods = "allow"
explicit_into_iter_loop = "allow"
explicit_iter_loop = "allow"
filter_map_next = "allow"
fn_params_excessive_bools = "allow"
from_iter_instead_of_collect = "allow"
if_not_else = "allow"
ignored_unit_patterns = "allow"
implicit_clone = "allow"
inconsistent_struct_constructor = "allow"
inefficient_to_string = "allow"
inline_always = "allow"
items_after_statements = "allow"
iter_not_returning_iterator = "allow"
iter_without_into_iter = "allow"
large_enum_variant = "allow"
large_stack_arrays = "allow"
manual_assert = "allow"
manual_is_variant_and = "allow"
manual_let_else = "allow"
manual_string_new = "allow"
many_single_char_names = "allow"
match_bool = "allow"
match_same_arms = "allow"
match_wild_err_arm = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
mut_mut = "allow"
naive_bytecount = "allow"
needless_continue = "allow"
needless_for_each = "allow"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
no_effect_underscore_binding = "allow"
option_option = "allow"
range_plus_one = "allow"
redundant_else = "allow"
result_large_err = "allow"
return_self_not_must_use = "allow"
should_panic_without_expect = "allow"
similar_names = "allow"
single_match_else = "allow"
stable_sort_primitive = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"
transmute_ptr_to_ptr = "allow"
trivially_copy_pass_by_ref = "allow"
unnecessary_join = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_self = "allow"
used_underscore_binding = "allow"
wildcard_imports = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]

[profile.bench]
debug = 1
strip = "none"

[profile.dev.package.gix-actor]
opt-level = 3

[profile.dev.package.gix-config]
opt-level = 3

[profile.dev.package.gix-hash]
opt-level = 3

[profile.dev.package.gix-object]
opt-level = 3

[profile.dev.package.gix-ref]
opt-level = 3

[profile.dev.package.insta]
opt-level = 3

[profile.dev.package.sha1-checked]
opt-level = 3

[profile.dev.package.similar]
opt-level = 3

[profile.dev.package.zlib-rs]
opt-level = 3

[profile.release]
lto = "thin"
panic = "unwind"
overflow-checks = false
incremental = false

[profile.release-github]
lto = "fat"
codegen-units = 1
panic = "unwind"
overflow-checks = false
inherits = "release"
strip = "symbols"