[package]
edition = "2021"
rust-version = "1.88"
name = "ext4fs-core"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Forensic-grade ext4 filesystem parser"
readme = false
license = "Apache-2.0"
[features]
default = ["hashing"]
ewf = ["dep:ewf"]
hashing = ["dep:blazehash"]
vfs = ["dep:forensic-vfs"]
[lib]
name = "ext4fs"
path = "src/lib.rs"
[[test]]
name = "vfs_ext4"
path = "tests/vfs_ext4.rs"
[dependencies.bitflags]
version = "2"
[dependencies.blazehash]
version = "0.2"
optional = true
package = "blazehash-core"
[dependencies.crc]
version = "3"
[dependencies.ewf]
version = "0.2"
optional = true
[dependencies.forensic-vfs]
version = "0.3"
optional = true
[dependencies.forensicnomicon]
version = "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.correctness]
level = "deny"
priority = -1
[lints.clippy.doc_markdown]
level = "allow"
priority = 1
[lints.clippy.float_cmp]
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"