code_passenger 0.1.1

Language-pack + header-plan driven code annotator: scans usage + auto-generates feature gates and doc headers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::{action::Action, state::AnalysisState};
use crate::engine::EngineOutput;

pub trait Pass: Send + Sync {
    fn id(&self) -> &'static str;
    fn actions(&self, raw: &EngineOutput, st: &AnalysisState) -> Vec<Action>;
}

pub mod build_file_view;
pub use build_file_view::BuildFileViews;

pub mod build_totals;
pub use build_totals::BuildTotals;

pub mod prelude {
    pub use super::BuildFileViews;
    pub use super::BuildTotals;
}