1#[cfg(all(feature = "ck3", feature = "vic3", feature = "imperator", not(doc)))]
6compile_error!("features \"ck3\", \"vic3\", and \"imperator\" cannot be enabled at the same time");
7
8#[cfg(all(not(feature = "ck3"), not(feature = "vic3"), not(feature = "imperator")))]
9compile_error!("exactly one of the features \"ck3\", \"vic3\", \"imperator\" must be enabled");
10
11pub use crate::config_load::validate_config_file;
12pub use crate::everything::Everything;
13pub use crate::fileset::FileKind;
14pub use crate::game::Game;
15pub use crate::item::Item;
16#[cfg(feature = "vic3")]
17pub use crate::mod_metadata::ModMetadata;
18#[cfg(any(feature = "ck3", feature = "imperator"))]
19pub use crate::modfile::ModFile;
20pub use crate::report::{
21 add_loaded_mod_root, disable_ansi_colors, emit_reports, log, set_output_file, set_output_style,
22 set_show_loaded_mods, set_show_vanilla, suppress_from_json, take_reports, Confidence,
23 LogReport, PointedMessage, Severity,
24};
25pub use crate::token::{Loc, Token};
26
27#[cfg(feature = "ck3")]
28mod ck3;
29#[cfg(feature = "imperator")]
30mod imperator;
31#[cfg(feature = "vic3")]
32mod vic3;
33
34mod block;
35mod config_load;
36mod context;
37mod data;
38mod datatype;
39mod date;
40mod db;
41mod dds;
42mod desc;
43mod effect;
44mod effect_validation;
45mod everything;
46mod fileset;
47mod game;
48mod gui;
49mod helpers;
50mod item;
51mod lowercase;
52mod macros;
53#[cfg(feature = "vic3")]
54mod mod_metadata;
55#[cfg(any(feature = "ck3", feature = "imperator"))]
56mod modfile;
57mod modif;
58mod on_action;
59mod parse;
60mod pathtable;
61mod pdxfile;
62mod report;
63mod rivers;
64mod scopes;
65mod script_value;
66mod token;
67mod tooltipped;
68mod trigger;
69mod util;
70mod validate;
71mod validator;