snss-core 0.1.0

Panic-free read-only decoder for Chromium/Brave/Edge SNSS session files — validates the SNSS header, splits the command stream into length-prefixed records, decodes navigation-command base::Pickle payloads, and replays them into per-window tab state
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.81"
name = "snss-core"
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 = "Panic-free read-only decoder for Chromium/Brave/Edge SNSS session files — validates the SNSS header, splits the command stream into length-prefixed records, decodes navigation-command base::Pickle payloads, and replays them into per-window tab state"
readme = false
keywords = [
    "forensics",
    "chrome",
    "chromium",
    "snss",
    "dfir",
]
categories = ["parser-implementations"]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/snss-forensic"

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

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

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

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

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

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

[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.format_push_string]
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.needless_pass_by_value]
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.unnecessary_wraps]
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"