1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! # clauser
//!
//! clauser is a library for working with configuration, script, and data files from the Clausewitz engine
//! used by Paradox Interactive for their grand strategy games.
//!
//! It contains a number of components:
//! - [Deserializer](`de::Deserializer`) is a [serde] deserializer that can deserialize
//! Clausewitz files into Rust data structures.
//! - [Value](`value::Value`) allows deserializing a Clausewitz file into a tree of values,
//! for situations where the schema of the data isn't known beforehand.
//! - [Tokenizer](`tokenizer::Tokenizer`) turns a Clausewitz file into a series of tokens.
//! - [Reader](`reader::Reader`) is a wrapper around [Tokenizer](`tokenizer::Tokenizer`) that enables
//! low-level parsing operations on a Clausewitz source file.
/// [serde] deserializer for Clausewitz files.
/// Low-level parser for Clausewitz files.
/// Tokens obtained from a source file.
/// A Tokenizer for parsing Clausewitz files.
/// Various types required to represent Clausewitz data.
/// Deserialization for Clausewitz files without a known schema.
extern crate clauser_macros;
pub use duplicate_keys;
/// Library error type.