ewf-image 0.2.0

Pure-Rust library for reading and writing EWF/E01 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 = "2024"
rust-version = "1.96"
name = "ewf-image"
version = "0.2.0"
build = false
include = [
    "/Cargo.toml",
    "/Cargo.lock",
    "/LICENSE",
    "/README.md",
    "/CHANGELOG.md",
    "/SECURITY.md",
    "/CONTRIBUTING.md",
    "/examples/**",
    "/src/**",
    "/tests/api.rs",
    "/tests/corpus.rs",
    "/tests/reader.rs",
    "/tests/reader_performance.rs",
    "/tests/signature.rs",
    "/tests/writer.rs",
    "/docs/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust library for reading and writing EWF/E01 forensic disk images."
homepage = "https://github.com/ebrig/ewf-image"
documentation = "https://docs.rs/ewf-image"
readme = "README.md"
keywords = [
    "ewf",
    "e01",
    "disk",
    "image",
]
categories = [
    "parser-implementations",
    "filesystem",
]
license = "Apache-2.0"
repository = "https://github.com/ebrig/ewf-image"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["verify"]
external-fixtures = []
verify = []

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bzip2]
version = "0.6"

[dependencies.encoding_rs]
version = "0.8"

[dependencies.flate2]
version = "1"

[dependencies.lru]
version = "0.18"

[dependencies.md-5]
version = "0.11"

[dependencies.sha1]
version = "0.11"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dev-dependencies.sha2]
version = "0.11"

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

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

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

[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.complexity]
level = "deny"
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_const_for_fn]
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.multiple_crate_versions]
level = "allow"
priority = 1

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

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

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

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

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

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

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

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

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

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

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

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

[lints.rust]
missing_docs = "deny"
warnings = "deny"

[lints.rust.future_incompatible]
level = "deny"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rust.rust_2024_compatibility]
level = "deny"
priority = -1

[lints.rust.unsafe_code]
level = "forbid"
priority = 1

[lints.rust.unused]
level = "deny"
priority = -1

[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"