[package]
edition = "2024"
rust-version = "1.88"
name = "weavatrix-graph"
version = "0.6.1"
authors = ["Sergii Ziborov <sergii.ziborov@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic, evidence-carrying graph primitives for repository intelligence"
homepage = "https://weavatrix.com"
documentation = "https://docs.rs/weavatrix-graph"
readme = "README.md"
keywords = [
"graph",
"code-graph",
"static-analysis",
"provenance",
"architecture",
]
categories = [
"data-structures",
"development-tools",
]
license = "MIT"
repository = "https://github.com/sergii-ziborov/weavatrix-graph"
[features]
default = ["std"]
rayon = [
"std",
"dep:rayon",
]
std = ["serde/std"]
unsafe-fast = []
[lib]
name = "weavatrix_graph"
path = "src/lib.rs"
[[example]]
name = "legacy_check"
path = "examples/legacy_check.rs"
[[test]]
name = "advanced_paths"
path = "tests/advanced_paths.rs"
[[test]]
name = "advanced_paths_competitor"
path = "tests/advanced_paths_competitor.rs"
[[test]]
name = "algorithms"
path = "tests/algorithms.rs"
[[test]]
name = "algorithms_competitor"
path = "tests/algorithms_competitor.rs"
[[test]]
name = "analysis_algorithms"
path = "tests/analysis_algorithms.rs"
[[test]]
name = "analysis_algorithms_competitor"
path = "tests/analysis_algorithms_competitor.rs"
[[test]]
name = "architecture"
path = "tests/architecture.rs"
[[test]]
name = "biconnected"
path = "tests/biconnected.rs"
[[test]]
name = "boundary"
path = "tests/boundary.rs"
[[test]]
name = "chain_decomposition"
path = "tests/chain_decomposition.rs"
[[test]]
name = "components"
path = "tests/components.rs"
[[test]]
name = "components_competitor"
path = "tests/components_competitor.rs"
[[test]]
name = "coverage_contract"
path = "tests/coverage_contract.rs"
[[test]]
name = "dag_intelligence"
path = "tests/dag_intelligence.rs"
[[test]]
name = "dag_intelligence_competitor"
path = "tests/dag_intelligence_competitor.rs"
[[test]]
name = "distance_analytics"
path = "tests/distance_analytics.rs"
[[test]]
name = "edge_betweenness"
path = "tests/edge_betweenness.rs"
[[test]]
name = "flow_variants"
path = "tests/flow_variants.rs"
[[test]]
name = "generators"
path = "tests/generators.rs"
[[test]]
name = "generic_dijkstra"
path = "tests/generic_dijkstra.rs"
[[test]]
name = "graph_builder"
path = "tests/graph_builder.rs"
[[test]]
name = "hits"
path = "tests/hits.rs"
[[test]]
name = "keyed_stable_undirected"
path = "tests/keyed_stable_undirected.rs"
[[test]]
name = "lazy_traversal"
path = "tests/lazy_traversal.rs"
[[test]]
name = "matrix"
path = "tests/matrix.rs"
[[test]]
name = "network_analytics"
path = "tests/network_analytics.rs"
[[test]]
name = "p0_algorithms"
path = "tests/p0_algorithms.rs"
[[test]]
name = "p0_competitor"
path = "tests/p0_competitor.rs"
[[test]]
name = "p1_competitor"
path = "tests/p1_competitor.rs"
[[test]]
name = "p1_optimization"
path = "tests/p1_optimization.rs"
[[test]]
name = "p1_shortest"
path = "tests/p1_shortest.rs"
[[test]]
name = "p1_structural"
path = "tests/p1_structural.rs"
[[test]]
name = "p2_auto"
path = "tests/p2_auto.rs"
[[test]]
name = "p2_formats"
path = "tests/p2_formats.rs"
[[test]]
name = "p2_parallel"
path = "tests/p2_parallel.rs"
[[test]]
name = "p2_payload"
path = "tests/p2_payload.rs"
[[test]]
name = "p2_storage"
path = "tests/p2_storage.rs"
[[test]]
name = "property_graph"
path = "tests/property_graph.rs"
[[test]]
name = "serde_contract"
path = "tests/serde_contract.rs"
[[test]]
name = "stable_payload"
path = "tests/stable_payload.rs"
[[test]]
name = "stoer_wagner"
path = "tests/stoer_wagner.rs"
[[test]]
name = "topology"
path = "tests/topology.rs"
[[test]]
name = "topology_competitor"
path = "tests/topology_competitor.rs"
[[test]]
name = "traversal_cache"
path = "tests/traversal_cache.rs"
[[test]]
name = "undirected"
path = "tests/undirected.rs"
[[test]]
name = "views_operators"
path = "tests/views_operators.rs"
[[test]]
name = "working_graph"
path = "tests/working_graph.rs"
[[bench]]
name = "advanced_algorithm_competitors"
path = "benches/advanced_algorithm_competitors.rs"
harness = false
[[bench]]
name = "algorithm_competitors"
path = "benches/algorithm_competitors.rs"
harness = false
[[bench]]
name = "compare_competitors"
path = "benches/compare_competitors.rs"
harness = false
[[bench]]
name = "component_competitors"
path = "benches/component_competitors.rs"
harness = false
[[bench]]
name = "connectivity_link_analysis"
path = "benches/connectivity_link_analysis.rs"
harness = false
[[bench]]
name = "distance_chain_analysis"
path = "benches/distance_chain_analysis.rs"
harness = false
[[bench]]
name = "edge_cut_analysis"
path = "benches/edge_cut_analysis.rs"
harness = false
[[bench]]
name = "filesystem_graph_workload"
path = "benches/filesystem_graph_workload.rs"
harness = false
required-features = [
"rayon",
"unsafe-fast",
]
[[bench]]
name = "graph_builder"
path = "benches/graph_builder.rs"
harness = false
[[bench]]
name = "graph_serde"
path = "benches/graph_serde.rs"
harness = false
[[bench]]
name = "keyed_stable_structures"
path = "benches/keyed_stable_structures.rs"
harness = false
[[bench]]
name = "p0_algorithm_competitors"
path = "benches/p0_algorithm_competitors.rs"
harness = false
[[bench]]
name = "p0_strengthening_competitors"
path = "benches/p0_strengthening_competitors.rs"
harness = false
[[bench]]
name = "p1_algorithm_competitors"
path = "benches/p1_algorithm_competitors.rs"
harness = false
[[bench]]
name = "p2_capabilities"
path = "benches/p2_capabilities.rs"
harness = false
required-features = [
"rayon",
"unsafe-fast",
]
[[bench]]
name = "parallel_scale_competitors"
path = "benches/parallel_scale_competitors.rs"
harness = false
required-features = ["rayon"]
[[bench]]
name = "scale_graph_competitors"
path = "benches/scale_graph_competitors.rs"
harness = false
[[bench]]
name = "topology_competitors"
path = "benches/topology_competitors.rs"
harness = false
[[bench]]
name = "traversal_cache_competitors"
path = "benches/traversal_cache_competitors.rs"
harness = false
required-features = [
"rayon",
"unsafe-fast",
]
[dependencies.rayon]
version = "1.11.0"
optional = true
[dependencies.serde]
version = "1.0.229"
features = [
"alloc",
"derive",
]
default-features = false
[dev-dependencies.biconnected-components]
version = "0.5.0"
[dev-dependencies.graaf]
version = "0.112.0"
[dev-dependencies.graph_builder]
version = "0.4.2"
[dev-dependencies.petgraph]
version = "0.8.3"
features = [
"std",
"stable_graph",
"rayon",
]
default-features = false
[dev-dependencies.rustworkx-core]
version = "0.18.0"
[dev-dependencies.serde_json]
version = "1.0.151"
[dev-dependencies.weavatrix-scan]
version = "0.3.0"
[target."cfg(not(windows))".dev-dependencies.proptest]
version = "1.9.0"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"