archmeld 1.3.0

Secure, memory-safe, type-safe CLI for multi-format archive extraction, inspection and decompression
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.88"
name = "archmeld"
version = "1.3.0"
authors = ["ndaal GmbH"]
build = false
include = [
    "/src/**/*.rs",
    "/Cargo.toml",
    "/README.md",
    "/CHANGELOG.md",
    "/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Secure, memory-safe, type-safe CLI for multi-format archive extraction, inspection and decompression"
readme = "README.md"
keywords = [
    "archive",
    "compression",
    "security",
    "lz4",
    "gzip",
]
categories = [
    "command-line-utilities",
    "compression",
    "filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.com/vPierre/ndaal_public_archmeld_files"

[package.metadata.binstall]
pkg-url = "{ repo }/-/releases/v{ version }/downloads/{ name }-{ version }-{ target }.tar.gz"
pkg-fmt = "tgz"
bin-dir = "{ name }-{ version }-{ target }/{ bin }{ binary-ext }"

[features]
default = ["secure-alloc"]
secure-alloc = ["dep:mimalloc"]

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

[[bin]]
name = "archmeld"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.bytesize]
version = "2"

[dependencies.bzip2]
version = "0.6"

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "std",
]
default-features = false

[dependencies.clap]
version = "4"
features = [
    "derive",
    "color",
    "env",
]

[dependencies.comfy-table]
version = "7"

[dependencies.crc32fast]
version = "1"

[dependencies.delharc]
version = "0.6"

[dependencies.exarch-core]
version = "0.2"

[dependencies.flate2]
version = "1"

[dependencies.gzinspector]
version = "0.2"

[dependencies.hex]
version = "0.4"

[dependencies.image_dds]
version = "0.7"
features = ["ddsfile"]
default-features = false

[dependencies.lz4_flex]
version = "0.12"

[dependencies.lzma-rs]
version = "0.3"

[dependencies.mimalloc]
version = "0.1.52"
features = ["secure"]
optional = true

[dependencies.self_update]
version = "1.0.0-rc.6"
features = [
    "github",
    "reqwest",
    "rustls",
    "compression-tar-gz",
    "archive-zip",
    "compression-zip-deflate",
    "checksums",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.xara]
version = "0.3"

[dependencies.zstd]
version = "0.13"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3"

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

[dev-dependencies.static_assertions]
version = "1.1"

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

[lints.clippy]
arithmetic_side_effects = "deny"
as_conversions = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "deny"
cast_sign_loss = "deny"
cloned_instead_of_copied = "deny"
cognitive_complexity = "warn"
create_dir = "warn"
enum_glob_use = "deny"
exit = "deny"
expect_used = "deny"
filetype_is_file = "warn"
float_arithmetic = "warn"
implicit_return = "allow"
indexing_slicing = "deny"
inefficient_to_string = "deny"
inline_always = "warn"
integer_division = "warn"
large_futures = "warn"
large_stack_arrays = "warn"
lossy_float_literal = "deny"
manual_string_new = "deny"
map_unwrap_or = "deny"
mem_forget = "deny"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
missing_safety_doc = "deny"
modulo_arithmetic = "warn"
must_use_candidate = "warn"
option_unwrap_used = "deny"
panic = "deny"
panic_in_result_fn = "deny"
permissions_set_readonly_false = "deny"
redundant_closure_for_method_calls = "deny"
result_unwrap_used = "deny"
semicolon_if_nothing_returned = "deny"
str_to_string = "deny"
string_to_string = "deny"
tests_outside_test_module = "warn"
todo = "deny"
too_many_arguments = "warn"
too_many_lines = "warn"
try_err = "deny"
type_complexity = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unnecessary_safety_comment = "deny"
unnecessary_safety_doc = "deny"
unreachable = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"
wildcard_enum_match_arm = "deny"
wildcard_imports = "deny"

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

[lints.clippy.cargo]
level = "deny"
priority = -1

[lints.clippy.complexity]
level = "deny"
priority = -1

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

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

[lints.clippy.perf]
level = "deny"
priority = -1

[lints.rust]
dead_code = "deny"
deprecated = "deny"
missing_docs = "warn"
non_ascii_idents = "forbid"
unsafe_code = "forbid"
unused_imports = "deny"
unused_must_use = "deny"
unused_variables = "deny"

[profile.mutants]
debug = 0
inherits = "test"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
overflow-checks = true
strip = true