[package]
edition = "2024"
rust-version = "1.85"
name = "zipatch-rs"
version = "1.0.2"
build = false
exclude = ["docs/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parser for FFXIV ZiPatch patch files"
readme = "README.md"
keywords = [
"ffxiv",
"zipatch",
"patch",
"parser",
"binary",
]
categories = [
"parser-implementations",
"game-development",
]
license = "MIT"
repository = "https://github.com/reh3502/zipatch-rs"
[lib]
name = "zipatch_rs"
path = "src/lib.rs"
[[example]]
name = "apply_to_dir"
path = "examples/apply_to_dir.rs"
[[example]]
name = "in_memory_demo"
path = "examples/in_memory_demo.rs"
[[example]]
name = "inspect_sqpk"
path = "examples/inspect_sqpk.rs"
[[example]]
name = "parse_summary"
path = "examples/parse_summary.rs"
[[test]]
name = "apply"
path = "tests/apply.rs"
[[test]]
name = "chunk"
path = "tests/chunk.rs"
[[test]]
name = "real_patch"
path = "tests/real_patch.rs"
[dependencies.binrw]
version = "0.14"
[dependencies.crc32fast]
version = "1"
[dependencies.flate2]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
]
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
missing_errors_doc = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"