weavatrix-rust 2.1.0

Protocol-independent Rust repository intelligence: typed evidence graphs for impact, architecture, APIs, Git, search, and memory
Documentation
# 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 = "2024"
rust-version = "1.89"
name = "weavatrix-rust"
version = "2.1.0"
authors = ["Sergii Ziborov <sergii.ziborov@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Protocol-independent Rust repository intelligence: typed evidence graphs for impact, architecture, APIs, Git, search, and memory"
homepage = "https://weavatrix.com"
documentation = "https://docs.rs/weavatrix-rust"
readme = "README.md"
keywords = [
    "code-graph",
    "static-analysis",
    "repository",
    "architecture",
    "impact",
]
categories = [
    "development-tools",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/sergii-ziborov/weavatrix-rust"

[package.metadata.docs.rs]
all-features = true

[features]
clone = ["dep:weavatrix-clone"]
default = [
    "full",
    "lang-rust",
]
full = [
    "clone",
    "git",
    "memory",
    "search",
    "semantic",
    "vector",
]
git = ["dep:weavatrix-git"]
lang-rust = [
    "dep:proc-macro2",
    "dep:syn",
]
memory = ["dep:weavatrix-memory"]
search = ["dep:weavatrix-search"]
semantic = ["dep:weavatrix-semantic"]
vector = ["dep:weavatrix-search-vector"]

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

[[bin]]
name = "weavatrix-rust"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "repository_suite"
path = "benches/repository_suite.rs"
harness = false

[dependencies.blazingly-json]
version = "0.1.0"

[dependencies.proc-macro2]
version = "1.0.107"
features = ["span-locations"]
optional = true
default-features = false

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

[dependencies.syn]
version = "3.0.3"
features = [
    "clone-impls",
    "full",
    "parsing",
    "printing",
    "visit",
]
optional = true
default-features = false

[dependencies.weavatrix-clone]
version = "0.1.3"
optional = true

[dependencies.weavatrix-git]
version = "0.3.1"
optional = true

[dependencies.weavatrix-graph]
version = "0.6.3"

[dependencies.weavatrix-memory]
version = "0.3.2"
optional = true

[dependencies.weavatrix-parse]
version = "0.3.0"

[dependencies.weavatrix-scan]
version = "0.4.6"

[dependencies.weavatrix-search]
version = "0.3.1"
optional = true
default-features = false

[dependencies.weavatrix-search-vector]
version = "0.3.1"
optional = true

[dependencies.weavatrix-semantic]
version = "0.2.2"
features = ["vector-search"]
optional = true

[dev-dependencies]

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"

[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"