# 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.75"
name = "scrump-rules"
version = "0.1.6"
authors = ["Avi Fenesh"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Default ruleset and YAML loader for scrump detectors."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/avifenesh/scrump"

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

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.regex]
version = "1"

[dependencies.scrump-core]
version = "0.1.6"

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

[dependencies.serde_yaml]
version = "0.9"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.scrump-detect]
version = "0.1.6"

[lints.clippy]
dbg_macro = "deny"
manual_map = "warn"
map_unwrap_or = "warn"
redundant_closure = "warn"
todo = "deny"
unimplemented = "deny"

[lints.rust]
unsafe_code = "forbid"
unused_must_use = "deny"
