Skip to main content

weavatrix_rust/
lib.rs

1#![forbid(unsafe_code)]
2#![doc = include_str!("../README.md")]
3
4mod analyzer;
5mod engine;
6mod error;
7pub mod language;
8pub mod mcp;
9mod snapshot;
10pub mod tools;
11
12pub use analyzer::{Analyzer, AnalyzerConfig, SourceInput};
13pub use engine::{RepositoryState, Weavatrix};
14pub use error::{Error, Result};
15pub use language::Language;
16pub use snapshot::{Capability, CapabilityState, Diagnostic, SNAPSHOT_SCHEMA_VERSION, Snapshot};
17pub use weavatrix_graph::{
18    Confidence, Edge, EdgeKind, EvidenceKind, Graph, GraphBuilder, Node, NodeId, NodeKind,
19    Provenance, SourcePosition, SourceSpan,
20};
21#[cfg(feature = "memory")]
22pub use weavatrix_memory as memory;