[package]
name = "srcgraph-metrics"
version = "0.8.21"
edition = "2021"
authors = ["yah Dev <human@yah.dev>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yah-ai/srcgraph"
description = "Graph-theoretic code-analysis metrics (SCC, LCOM4, betweenness, instability, …)"
readme = "README.md"
keywords = ["graph", "code-analysis", "metrics", "scc", "lcom4"]
categories = ["development-tools", "algorithms"]
[lib]
name = "srcgraph_metrics"
path = "src/lib.rs"
[features]
default = ["all"]
scc = []
lcom4 = []
betweenness = []
instability = []
clone_detection = []
all = ["scc", "lcom4", "betweenness", "instability", "clone_detection"]
[dependencies]
petgraph = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2.0"
srcgraph-core = { path = "../srcgraph-core", version = "0.8.21" }
[[bench]]
name = "betweenness"
harness = false
path = "benches/betweenness.rs"