[package]
edition = "2024"
name = "amiss-git"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read-only Git object store behind a no-follow handle boundary, for Amiss"
readme = false
license = "FSL-1.1-ALv2"
repository = "https://github.com/HardMax71/amiss"
[lib]
name = "amiss_git"
path = "src/lib.rs"
[[test]]
name = "boundary"
path = "tests/boundary.rs"
[[test]]
name = "capped"
path = "tests/capped.rs"
[[test]]
name = "loose"
path = "tests/loose.rs"
[[test]]
name = "pack"
path = "tests/pack.rs"
[[test]]
name = "staged"
path = "tests/staged.rs"
[dependencies.amiss-wire]
version = "0.1.0"
[dependencies.crc32fast]
version = "1"
[dependencies.flate2]
version = "1"
[dependencies.fs_at]
version = "0.2"
[dependencies.sha1-checked]
version = "0.10"
[dependencies.sha2]
version = "0.10"
[dev-dependencies.tempfile]
version = "3"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.52"
features = ["Win32_Storage_FileSystem"]
[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
arithmetic_side_effects = "warn"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "deny"
cast_sign_loss = "deny"
dbg_macro = "deny"
disallowed_types = "deny"
exit = "deny"
expect_used = "deny"
indexing_slicing = "deny"
iter_over_hash_type = "warn"
map_err_ignore = "warn"
mem_forget = "deny"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
mod_module_files = "warn"
panic = "deny"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
string_slice = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"
wildcard_enum_match_arm = "deny"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
elided_lifetimes_in_paths = "warn"
trivial_numeric_casts = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"