forsmost 0.1.1

A Rust Foremost-style file carving command-line tool.
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.92"
name = "forsmost"
version = "0.1.1"
build = false
include = [
    "/Cargo.lock",
    "/Cargo.toml",
    "/LICENSE-APACHE",
    "/LICENSE-MIT",
    "/README.md",
    "/src/**",
    "/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust Foremost-style file carving command-line tool."
homepage = "https://github.com/neodyland/forsmost"
documentation = "https://docs.rs/forsmost"
readme = "README.md"
keywords = [
    "forensics",
    "file-carving",
    "recovery",
    "foremost",
    "cli",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/neodyland/forsmost"

[features]
default = ["gzip"]
gzip = ["dep:flate2"]

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

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

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

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

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

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

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.flate2]
version = "1"
optional = true

[lints.clippy]
absolute_paths = "warn"
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
arbitrary_source_item_ordering = "deny"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
cfg_not_test = "deny"
clone_on_ref_ptr = "deny"
create_dir = "deny"
dbg_macro = "warn"
disallowed_script_idents = "deny"
error_impl_error = "deny"
filetype_is_file = "deny"
infinite_loop = "deny"
missing_errors_doc = "allow"
mutex_atomic = "deny"
mutex_integer = "deny"
panic_in_result_fn = "deny"
pathbuf_init_then_push = "deny"
precedence_bits = "deny"
rc_mutex = "deny"
redundant_test_prefix = "deny"
redundant_type_annotations = "deny"
same_name_method = "deny"
self_named_module_files = "deny"
string_lit_chars_any = "deny"
string_slice = "deny"
struct_excessive_bools = "allow"
tests_outside_test_module = "deny"
todo = "warn"
undocumented_unsafe_blocks = "deny"
unimplemented = "warn"
unnecessary_safety_comment = "deny"
unnecessary_safety_doc = "deny"
unwrap_used = "warn"

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

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

[lints.rust]
ambiguous_negative_literals = "deny"
let_underscore_drop = "deny"
missing_debug_implementations = "deny"