tiger-lib 1.18.0

Library used by the tools ck3-tiger, vic3-tiger, and imperator-tiger. This library holds the bulk of the code for them. It can be built either for ck3-tiger with the feature ck3, or for vic3-tiger with the feature vic3, or for imperator-tiger with the feature imperator, but not both at the same time.
Documentation
use std::path::PathBuf;

use crate::game::Game;

pub mod ck3;
pub mod vic3;

pub fn bench_mods<'a>() -> impl Iterator<Item = (&'a str, &'a PathBuf)> {
    match Game::game() {
        #[cfg(feature = "ck3")]
        Game::Ck3 => ck3::bench_mods(),
        #[cfg(feature = "vic3")]
        Game::Vic3 => vic3::bench_mods(),
        #[cfg(feature = "imperator")]
        Game::Imperator => unimplemented!(),
        #[cfg(feature = "hoi4")]
        Game::Hoi4 => unimplemented!(),
    }
}