solcompat_project/lib.rs
1//! Collect local Solana project inputs for compatibility evaluation.
2//!
3//! [`collect`] reads configuration and manifests, resolves available lockfile or
4//! captured metadata facts, gathers source observations, and assembles an inventory.
5//! It never invokes Cargo, Anchor, npm, or project scripts. [`probe_tools`] and
6//! [`build_program`] are separate, opt-in execution boundaries.
7//!
8//! Construction lives in `program.rs` and `client.rs`; sequencing and enrichment
9//! live in named helpers in those modules, orchestrated by `collect.rs`. See the repository's `docs/ARCHITECTURE.md` for field sources.
10
11mod artifact;
12mod cargo;
13mod client;
14mod collect;
15mod config;
16mod discovery;
17mod execution;
18mod idl;
19mod input;
20mod npm;
21mod program;
22mod resolution;
23mod source;
24mod tools;
25
26pub use collect::{collect, Collected};
27pub use input::read_text;
28pub use tools::{
29 build_program, build_program_with_timeout, enrich_tool_observations, probe_tools,
30 BuildObservation,
31};
32
33#[cfg(test)]
34mod tests;