[package]
edition = "2021"
rust-version = "1.81"
name = "git-forensic"
version = "0.1.0"
authors = ["Albert Hui <albert@securityronin.com>"]
build = false
exclude = [
"/fuzz",
"/.github",
"/docs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Forensic anomaly auditor for Git object stores — backdated commits, rewritten history, unsigned-in-signed-history, and unreachable objects as graded report::Finding, built on git-core"
homepage = "https://github.com/SecurityRonin/git-forensic"
documentation = "https://docs.rs/git-forensic"
readme = "README.md"
keywords = [
"forensics",
"git",
"dfir",
"incident-response",
"version-control",
]
categories = [
"parser-implementations",
"development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/git-forensic"
[lib]
name = "git_forensic"
path = "src/lib.rs"
[[test]]
name = "attribution"
path = "tests/attribution.rs"
[[test]]
name = "real_repo"
path = "tests/real_repo.rs"
[[test]]
name = "reflog"
path = "tests/reflog.rs"
[[test]]
name = "signatures"
path = "tests/signatures.rs"
[[test]]
name = "unreachable"
path = "tests/unreachable.rs"
[dependencies.forensicnomicon]
version = "0.4"
[dependencies.git-core]
version = "0.1"
[dev-dependencies.tempfile]
version = "3"
[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"