jomini icon indicating copy to clipboard operation
jomini copied to clipboard

Low level, performance oriented parser for save and game files from EU4, CK3, HOI4, Vic3, Imperator, and other PDS titles.

Results 5 jomini issues
Sort by recently updated
recently updated
newest added

Return whether TokenResolver::resolve will always return `None`. By default this returns `false` This method is not used by jomini itself, but rather targeted at downstream save file libraries, who accept...

[`split_first_chunk`][0] stabilized in 1.77 (march 2024) and results in the exact same assembly being produced by `get_split`. Probably not worth merging until 1.77 becomes more widespread. [0]: https://doc.rust-lang.org/std/primitive.slice.html#method.split_first_chunk

While being able to parse data iteratively has its benefits, there's the downside that one doesn't know if '{' represents an object, an array, or a combination of the two....

It would be useful to have a structure that represents every possible value we can deserialize into. Example: ```rs // here's deserializer into a generic Value let value: HashMap =...

This PR added distinction between those in tapes: https://github.com/rakaly/jomini/pull/55 Can I distinguish between those in custom serde Deserializer? Basically, I'm asking if the following code is possible: ```rs #[derive(Debug, Deserialize)]...