rust_mir2_core 0.1.2

Shared Rust MIR extraction model and helpers for rust_mir2
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod cargo_driver;
mod fragments;
mod manifest;
mod model;
mod render;

pub use cargo_driver::{analyze_path, analyze_workspace, detect_invocation_mode};
pub use fragments::{fragment_file_name, load_fragments_from_dir, write_fragment_to_dir};
pub use manifest::resolve_target_project;
pub use model::{
    EXPECTED_PACKAGES_ENV, InputKind, InvocationMode, OUTPUT_DIR_ENV, PackageMirDump,
    RustMir2Error, TargetMirDump, TargetProject, WRAPPER_MODE_ENV, WorkspaceMirDump,
};
pub use render::{default_output_path_for_cwd, render_workspace_mir_json};