hoi4save 0.2.0

Ergonomically work with HOI4 saves
Documentation
1
2
3
4
5
6
7
8
9
use jomini::binary::TokenResolver;

pub struct EnvTokens;

impl TokenResolver for EnvTokens {
    fn resolve(&self, token: u16) -> Option<&str> {
        include!(concat!(env!("OUT_DIR"), "/gen_tokens.rs"))
    }
}