usb-forensic 0.1.0

USB device-history correlation engine — reconstructs USB connection history from every Windows artifact and scores cross-source timestamp consistency. Pipeline-native, reproducible, panic-free.
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.96.0"
name = "usb-forensic"
version = "0.1.0"
authors = ["Albert Hui <albert@securityronin.com>"]
build = false
exclude = [
    "/.github",
    "/docs",
    "/tests/data",
    "/fuzz",
    "/.pre-commit-config.yaml",
    "/renovate.json",
    "/.gitleaks.toml",
    "/mkdocs.yml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "USB device-history correlation engine — reconstructs USB connection history from every Windows artifact and scores cross-source timestamp consistency. Pipeline-native, reproducible, panic-free."
homepage = "https://github.com/SecurityRonin/usb-forensic"
documentation = "https://docs.rs/usb-forensic"
readme = "README.md"
keywords = [
    "forensics",
    "dfir",
    "usb",
    "incident-response",
    "timeline",
]
categories = [
    "parser-implementations",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/usb-forensic"

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

[[bin]]
name = "usb4n6"
path = "src/bin/usb4n6.rs"

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

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

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

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

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

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

[dependencies.disk-forensic]
version = "0.9"

[dependencies.evtx]
version = "0.11"

[dependencies.ewf]
version = "0.4"

[dependencies.forensicnomicon]
version = "1.6"

[dependencies.jiff]
version = "0.2"

[dependencies.lnk-core]
version = "0.4"

[dependencies.mbr-partition-forensic]
version = "0.6"

[dependencies.peripheral-core]
version = "0.8"

[dependencies.plist]
version = "1.10"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.winevt-extract]
version = "0.4"

[dependencies.winreg-core]
version = "0.2"

[dev-dependencies.gpt-partition-forensic]
version = "0.6"

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

[lints.rust]
unsafe_code = "forbid"