[package]
edition = "2021"
rust-version = "1.75"
name = "forensicnomicon-core"
version = "1.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Stable engine layer of the ForensicNomicon: the normalized DFIR report model (Finding/Severity/Observation) and structural format constants. Zero deps."
homepage = "https://github.com/SecurityRonin/forensicnomicon"
documentation = "https://docs.rs/forensicnomicon-core"
readme = false
keywords = [
"forensics",
"dfir",
"incident-response",
"report",
"filesystem",
]
categories = [
"science",
"data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/forensicnomicon"
[features]
default = ["std"]
serde = ["dep:serde"]
std = []
[lib]
name = "forensicnomicon_core"
path = "src/lib.rs"
[[test]]
name = "file_id"
path = "tests/file_id.rs"
[[test]]
name = "zfs_label_oracle"
path = "tests/zfs_label_oracle.rs"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dev-dependencies.serde_json]
version = "1"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.case_sensitive_file_extension_comparisons]
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.correctness]
level = "deny"
priority = -1
[lints.clippy.doc_markdown]
level = "allow"
priority = 1
[lints.clippy.expect_used]
level = "deny"
priority = 0
[lints.clippy.items_after_statements]
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.unreadable_literal]
level = "allow"
priority = 1
[lints.clippy.unwrap_used]
level = "deny"
priority = 0
[lints.rust]
unsafe_code = "forbid"