[package]
edition = "2024"
rust-version = "1.99"
name = "git-pack-delta"
version = "0.0.6"
authors = ["Philipp Naused <philipp.naused@t-online.de>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure rust implementation of Git's delta compression algorithm. (Not to be confused with it's diff algorithm!)"
readme = "README.md"
keywords = [
"git",
"pack",
"delta",
]
categories = [
"compression",
"encoding",
"parsing",
]
license = "MIT"
repository = "https://github.com/PhilippNaused/git-pack-delta"
[features]
[lib]
name = "git_pack_delta"
path = "src/lib.rs"
[[example]]
name = "delta"
path = "examples/delta.rs"
[[test]]
name = "git-delta"
path = "tests/git-delta.rs"
[dependencies.cyclic-poly-23]
version = "0.4"
default-features = false
[dependencies.static_assertions_next]
version = "1.1"
[dependencies.thiserror]
version = "2"
default-features = false
[dev-dependencies.rand]
version = "0.10"
[dev-dependencies.yare]
version = "3"
[lints.clippy]
alloc_instead_of_core = "warn"
big_endian_bytes = "deny"
cargo_common_metadata = "warn"
clear_with_drain = "warn"
dbg_macro = "deny"
empty_drop = "warn"
error_impl_error = "warn"
float_cmp_const = "warn"
get_unwrap = "warn"
host_endian_bytes = "allow"
inline_asm_x86_att_syntax = "warn"
large_stack_frames = "warn"
little_endian_bytes = "allow"
missing_asserts_for_indexing = "warn"
missing_const_for_fn = "warn"
non_zero_suggestions = "warn"
precedence_bits = "warn"
redundant_test_prefix = "allow"
renamed_function_params = "warn"
self_named_module_files = "warn"
std_instead_of_alloc = "allow"
std_instead_of_core = "warn"
str_to_string = "warn"
tests_outside_test_module = "deny"
todo = "warn"
too_many_lines = "warn"
use_self = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
ambiguous_negative_literals = "warn"
missing_debug_implementations = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]