Skip to main content

plut_core/
lib.rs

1//! Project model, run context and diagnostics shared by every `Plut` crate.
2//!
3//! This crate has no knowledge of rules or output formats. It answers one question: what
4//! files exist in this project, and where does each of them run?
5
6pub mod config;
7pub mod error;
8pub mod finding;
9mod generated;
10pub mod index;
11pub mod project;
12mod project_file;
13pub mod run_context;
14pub mod sourcemap;
15
16pub use config::{Config, Gb117Options, Model, RuleOptions, Target, TargetsConfig};
17pub use error::Error;
18pub use finding::{Confidence, Finding, FixSafety, Severity, Span, TextEdit, source_hash};
19pub use generated::is_generated;
20pub use project::{Alias, Dependency, FileKind, ModelSource, Project, SourceFile};
21pub use run_context::RunContext;