# 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.80"
name = "browser-forensic-chrome"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Chromium-family (Chrome, Edge, Brave, Opera) browser artifact parsers"
readme = false
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/browser-forensic"

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

[dependencies.anyhow]
version = "1"

[dependencies.browser-forensic-core]
version = "0.2.0"

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

[dependencies.serde_json]
version = "1"

[dependencies.snss-core]
version = "0.1.0"

[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.doc_markdown]
level = "allow"
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.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"
unused_imports = "warn"
unused_variables = "warn"
