ewf 0.2.1

Pure Rust reader for Expert Witness Format (E01/EWF) forensic disk images
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 = "2021"
rust-version = "1.85"
name = "ewf"
version = "0.2.1"
authors = ["Albert Hui"]
build = false
exclude = [
    "tests/data/",
    "tarpaulin-report.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust reader for Expert Witness Format (E01/EWF) forensic disk images"
homepage = "https://github.com/SecurityRonin/ewf"
documentation = "https://docs.rs/ewf"
readme = "README.md"
keywords = [
    "forensics",
    "ewf",
    "e01",
    "encase",
    "disk-image",
]
categories = [
    "parser-implementations",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/SecurityRonin/ewf"

[features]
default = ["verify"]
verify = [
    "dep:md-5",
    "dep:sha-1",
]

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

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

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

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

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

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

[dependencies.flate2]
version = "1"

[dependencies.glob]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.lru]
version = "0.12"

[dependencies.md-5]
version = "0.10"
optional = true

[dependencies.sha-1]
version = "0.10"
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.md-5]
version = "0.10"

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

[lints.clippy.cast_possible_truncation]
level = "allow"
priority = 1

[lints.clippy.cast_possible_wrap]
level = "allow"
priority = 1

[lints.clippy.cast_precision_loss]
level = "allow"
priority = 1

[lints.clippy.cast_sign_loss]
level = "allow"
priority = 1

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

[lints.clippy.format_collect]
level = "allow"
priority = 1

[lints.clippy.format_push_string]
level = "allow"
priority = 1

[lints.clippy.items_after_statements]
level = "allow"
priority = 1

[lints.clippy.manual_let_else]
level = "allow"
priority = 1

[lints.clippy.missing_errors_doc]
level = "allow"
priority = 1

[lints.clippy.missing_panics_doc]
level = "allow"
priority = 1

[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1

[lints.clippy.must_use_candidate]
level = "allow"
priority = 1

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

[lints.clippy.similar_names]
level = "allow"
priority = 1

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

[lints.clippy.too_many_lines]
level = "allow"
priority = 1

[lints.rust]
unsafe_code = "forbid"