apfs-core 0.2.3

Pure-Rust from-scratch APFS (Apple File System) reader — container/volume superblocks, object map, B-trees, file-system records, file extents, snapshots, and transparent decmpfs decompression over any Read + Seek source
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 = "apfs-core"
version = "0.2.3"
authors = ["Albert Hui <albert@securityronin.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust from-scratch APFS (Apple File System) reader — container/volume superblocks, object map, B-trees, file-system records, file extents, snapshots, and transparent decmpfs decompression over any Read + Seek source"
homepage = "https://github.com/SecurityRonin/apfs-forensic"
documentation = "https://docs.rs/apfs-core"
readme = "README.md"
keywords = [
    "forensics",
    "apfs",
    "filesystem",
    "dfir",
    "macos",
]
categories = [
    "parser-implementations",
    "filesystem",
]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/apfs-forensic"

[features]
vfs = ["dep:forensic-vfs"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bitflags]
version = "2"

[dependencies.chrono]
version = "0.4"

[dependencies.flate2]
version = "1"

[dependencies.forensic-vfs]
version = "0.4"
optional = true

[dependencies.forensicnomicon]
version = "1"

[dependencies.lzfse_rust]
version = "0.2"

[dependencies.lzvn]
version = "0.1"
package = "lzvn-core"

[dependencies.thiserror]
version = "2"

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

[lints.clippy.all]
level = "warn"
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.correctness]
level = "deny"
priority = -1

[lints.clippy.expect_used]
level = "deny"
priority = 0

[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.clippy.unwrap_used]
level = "deny"
priority = 0

[lints.rust]
unsafe_code = "forbid"