sdivi-patterns 0.2.48

Pattern fingerprinting and catalog for sdivi-rust
Documentation
[package]
name = "sdivi-patterns"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
description = "Pattern fingerprinting and catalog for sdivi-rust"
readme = "README.md"
keywords = ["sdivi", "code-divergence", "patterns", "fingerprint", "catalog"]
categories = ["development-tools", "algorithms"]

[features]
# Enables the sdivi-parsing dep and build_catalog(records) path.
# Default ON for sdivi-pipeline; OFF for sdivi-core's WASM-compatible build.
pipeline-records = ["dep:sdivi-parsing"]
default = ["pipeline-records"]
# Note: `regex` (below) is intentionally NOT gated by `pipeline-records` — the
# per-category regex tables are needed in both the pipeline path and the WASM/pure-compute
# path. Do not move `regex` behind the `pipeline-records` feature.

[dependencies]
sdivi-config  = { workspace = true }
sdivi-parsing = { workspace = true, optional = true }
thiserror   = { workspace = true }
serde       = { workspace = true }
serde_json  = { workspace = true }
blake3      = { workspace = true }
globset     = { workspace = true }
regex       = { workspace = true }

[dev-dependencies]
serde_json    = { workspace = true }
# Path-only — see sdivi-detection's dev-deps for rationale.
sdivi-parsing         = { path = "../sdivi-parsing" }
sdivi-lang-rust       = { path = "../sdivi-lang-rust" }
sdivi-lang-python     = { path = "../sdivi-lang-python" }
sdivi-lang-typescript = { path = "../sdivi-lang-typescript" }
sdivi-config    = { path = "../sdivi-config" }
proptest      = { workspace = true }