exarch-core 0.2.5

Memory-safe archive extraction library with security validation
Documentation
# 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.89.0"
name = "exarch-core"
version = "0.2.5"
authors = ["Exarch Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Memory-safe archive extraction library with security validation"
homepage = "https://github.com/bug-ops/exarch"
readme = "README.md"
keywords = [
    "archive",
    "extraction",
    "security",
    "tar",
    "zip",
]
categories = [
    "compression",
    "filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bug-ops/exarch"
resolver = "2"

[lib]
name = "exarch_core"
path = "src/lib.rs"

[[example]]
name = "create_archive"
path = "examples/create_archive.rs"

[[example]]
name = "dhat_creation"
path = "examples/dhat_creation.rs"

[[example]]
name = "dhat_extraction"
path = "examples/dhat_extraction.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "property_tests"
path = "tests/property_tests.rs"

[[test]]
name = "sevenz_integration"
path = "tests/sevenz_integration.rs"

[[bench]]
name = "creation"
path = "benches/creation.rs"
harness = false

[[bench]]
name = "extraction"
path = "benches/extraction.rs"
harness = false

[[bench]]
name = "progress"
path = "benches/progress.rs"
harness = false

[[bench]]
name = "validation"
path = "benches/validation.rs"
harness = false

[dependencies.bzip2]
version = "0.6"

[dependencies.flate2]
version = "1.1"

[dependencies.rustc-hash]
version = "2.1"

[dependencies.sevenz-rust2]
version = "0.20"

[dependencies.smallvec]
version = "1.15"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "2.0"

[dependencies.time]
version = "0.3"

[dependencies.walkdir]
version = "2.5"

[dependencies.xz2]
version = "0.1"

[dependencies.zip]
version = "8.0"
features = [
    "deflate",
    "deflate64",
    "bzip2",
    "zstd",
    "time",
]
default-features = false

[dependencies.zstd]
version = "0.13"

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.dhat]
version = "0.3"

[dev-dependencies.proptest]
version = "1.10"

[dev-dependencies.tempfile]
version = "3.25"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[lints.clippy]
cast_precision_loss = "allow"
expect_used = "warn"
missing_const_for_fn = "allow"
no_effect_underscore_binding = "allow"
struct_excessive_bools = "allow"
unnecessary_literal_bound = "allow"
unwrap_used = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"