[package]
edition = "2021"
name = "gitoxide-core"
version = "0.54.0"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The library implementing all capabilities of the gitoxide CLI"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
[package.metadata.docs.rs]
features = [
"document-features",
"blocking-client",
"organize",
"estimate-hours",
"serde",
]
[features]
archive = [
"dep:gix-archive-for-configuration-only",
"gix/worktree-archive",
]
async-client = [
"gix/async-network-client-async-std",
"gix-transport-configuration-only/async-std",
"async-trait",
"futures-io",
"async-net",
"async-io",
"futures-lite",
"blocking",
]
blocking-client = ["gix/blocking-network-client"]
clean = ["gix/dirwalk"]
corpus = [
"dep:rusqlite",
"dep:sysinfo",
"organize",
"dep:crossbeam-channel",
"dep:serde_json",
"dep:tracing-forest",
"dep:tracing-subscriber",
"tracing",
"dep:parking_lot",
]
default = []
estimate-hours = [
"dep:fs-err",
"dep:crossbeam-channel",
"dep:smallvec",
]
organize = [
"dep:gix-url",
"dep:jwalk",
]
query = ["dep:rusqlite"]
serde = [
"gix/serde",
"dep:serde_json",
"dep:serde",
"bytesize/serde",
]
[lib]
name = "gitoxide_core"
path = "src/lib.rs"
test = false
doctest = false
[dependencies.anyhow]
version = "1.0.100"
[dependencies.async-io]
version = "2.6"
optional = true
[dependencies.async-net]
version = "2.0"
optional = true
[dependencies.async-trait]
version = "0.1.51"
optional = true
[dependencies.blocking]
version = "1.6.2"
optional = true
[dependencies.bytesize]
version = "2.3.1"
[dependencies.crossbeam-channel]
version = "0.5.15"
optional = true
[dependencies.document-features]
version = "0.2.0"
optional = true
[dependencies.fs-err]
version = "3.2.2"
optional = true
[dependencies.futures-io]
version = "0.3.16"
optional = true
[dependencies.futures-lite]
version = "2.1.0"
optional = true
[dependencies.gix]
version = "^0.80.0"
features = [
"merge",
"blob-diff",
"blame",
"revision",
"mailmap",
"excludes",
"attributes",
"worktree-mutation",
"credentials",
"interrupt",
"status",
"dirwalk",
]
default-features = false
[dependencies.gix-archive-for-configuration-only]
version = "^0.29.0"
features = [
"tar",
"tar_gz",
]
optional = true
package = "gix-archive"
[dependencies.gix-error-for-configuration-only]
version = "^0.2.0"
features = ["anyhow"]
package = "gix-error"
[dependencies.gix-fsck]
version = "^0.18.0"
[dependencies.gix-pack-for-configuration-only]
version = "^0.67.0"
features = [
"pack-cache-lru-dynamic",
"pack-cache-lru-static",
"generate",
"streaming-input",
]
default-features = false
package = "gix-pack"
[dependencies.gix-status]
version = "^0.27.0"
[dependencies.gix-transport-configuration-only]
version = "^0.55.0"
default-features = false
package = "gix-transport"
[dependencies.gix-url]
version = "^0.35.2"
optional = true
[dependencies.jwalk]
version = "0.8.0"
optional = true
[dependencies.layout-rs]
version = "0.1.3"
[dependencies.open]
version = "5.0.0"
[dependencies.parking_lot]
version = "0.12.4"
optional = true
[dependencies.rusqlite]
version = "0.38.0"
features = [
"bundled",
"fallible_uint",
]
optional = true
[dependencies.serde]
version = "1.0.114"
features = ["derive"]
optional = true
default-features = false
[dependencies.serde_json]
version = "1.0.149"
optional = true
[dependencies.smallvec]
version = "1.15.1"
optional = true
[dependencies.sysinfo]
version = "0.38.0"
features = ["system"]
optional = true
default-features = false
[dependencies.tempfile]
version = "3.24.0"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tracing]
version = "0.1.43"
optional = true
[dependencies.tracing-forest]
version = "0.2.0"
features = ["serde"]
optional = true
[dependencies.tracing-subscriber]
version = "0.3.22"
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]