Local workflow, smart-HTTP clone/fetch/push and public HTTPS clone/fetch match native git in stdout and exit codes. Only WASI imports (wasi:http, exit-with-code).
266 lines
5.6 KiB
TOML
266 lines
5.6 KiB
TOML
# 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 = "2024"
|
|
rust-version = "1.88"
|
|
name = "gix-pack"
|
|
version = "0.77.0"
|
|
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
|
|
build = false
|
|
include = [
|
|
"/src/**/*",
|
|
"/LICENSE-*",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Implements git packs and related data structures"
|
|
readme = false
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/GitoxideLabs/gitoxide"
|
|
resolver = "2"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
features = [
|
|
"sha1",
|
|
"sha256",
|
|
"document-features",
|
|
"pack-cache-lru-dynamic",
|
|
"object-cache-dynamic",
|
|
"serde",
|
|
]
|
|
|
|
[features]
|
|
default = [
|
|
"generate",
|
|
"streaming-input",
|
|
]
|
|
generate = [
|
|
"dep:gix-traverse",
|
|
"dep:gix-diff",
|
|
"dep:parking_lot",
|
|
"dep:gix-hashtable",
|
|
]
|
|
object-cache-dynamic = [
|
|
"dep:clru",
|
|
"dep:gix-hashtable",
|
|
]
|
|
pack-cache-lru-dynamic = ["dep:clru"]
|
|
pack-cache-lru-static = ["dep:uluru"]
|
|
parallel = [
|
|
"gix-parallel/parallel",
|
|
"dep:crossbeam-deque",
|
|
]
|
|
serde = [
|
|
"dep:serde",
|
|
"gix-object/serde",
|
|
"gix-zlib/serde",
|
|
]
|
|
sha1 = ["gix-hash/sha1"]
|
|
sha256 = ["gix-hash/sha256"]
|
|
streaming-input = [
|
|
"dep:parking_lot",
|
|
"dep:gix-tempfile",
|
|
]
|
|
testing = []
|
|
wasm = ["gix-diff?/wasm"]
|
|
|
|
[lib]
|
|
name = "gix_pack"
|
|
path = "src/lib.rs"
|
|
doctest = false
|
|
|
|
[dependencies.clru]
|
|
version = "0.6.1"
|
|
optional = true
|
|
|
|
[dependencies.crc32fast]
|
|
version = "1.5.0"
|
|
|
|
[dependencies.crossbeam-deque]
|
|
version = "0.8.6"
|
|
optional = true
|
|
|
|
[dependencies.document-features]
|
|
version = "0.2.0"
|
|
optional = true
|
|
|
|
[dependencies.gix-chunk]
|
|
version = "^0.10.1"
|
|
|
|
[dependencies.gix-diff]
|
|
version = "^0.70.0"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.gix-error]
|
|
version = "^0.5.2"
|
|
|
|
[dependencies.gix-hash]
|
|
version = "^0.28.1"
|
|
|
|
[dependencies.gix-hashtable]
|
|
version = "^0.18.0"
|
|
optional = true
|
|
|
|
[dependencies.gix-object]
|
|
version = "^0.66.1"
|
|
|
|
[dependencies.gix-parallel]
|
|
version = "^0.50.0"
|
|
|
|
[dependencies.gix-path]
|
|
version = "^0.14.1"
|
|
|
|
[dependencies.gix-trace]
|
|
version = "^0.3.1"
|
|
|
|
[dependencies.gix-traverse]
|
|
version = "^0.64.0"
|
|
optional = true
|
|
|
|
[dependencies.gix-utils]
|
|
version = "^0.5.1"
|
|
features = [
|
|
"interrupt",
|
|
"progress",
|
|
]
|
|
|
|
[dependencies.gix-zlib]
|
|
version = "^0.4.0"
|
|
|
|
[dependencies.memmap2]
|
|
version = "0.9.11"
|
|
|
|
[dependencies.parking_lot]
|
|
version = "0.12.4"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.114"
|
|
features = ["derive"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.smallvec]
|
|
version = "1.15.1"
|
|
|
|
[dependencies.uluru]
|
|
version = "3.0.0"
|
|
optional = true
|
|
|
|
[dev-dependencies.bstr]
|
|
version = "1.12.0"
|
|
features = ["std"]
|
|
default-features = false
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.8.2"
|
|
|
|
[dev-dependencies.insta]
|
|
version = "1.46.3"
|
|
|
|
[dev-dependencies.maplit]
|
|
version = "1.0.2"
|
|
|
|
[dev-dependencies.prodash]
|
|
version = "31.0.0"
|
|
features = ["progress-log"]
|
|
|
|
[target.'cfg(any(not(target_arch = "wasm32"), target_os = "wasi"))'.dependencies.gix-tempfile]
|
|
version = "^26.0.0"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[lints.clippy]
|
|
assert_is_empty = "allow"
|
|
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"
|
|
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]
|