tiger-lib 1.5.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
[build-dependencies.lalrpop]
version = "0.22.0"

[dependencies.ahash]
default-features = false
features = ["std", "compile-time-rng"]
version = "0.8"

[dependencies.ansiterm]
version = "0.12.2"

[dependencies.anyhow]
version = "1"

[dependencies.as-any]
version = "0.3.0"

[dependencies.atomic_enum]
version = "0.3.0"

[dependencies.bimap]
version = "0.6.3"

[dependencies.bitflags]
version = "2.3.3"

[dependencies.bitvec]
version = "1.0"

[dependencies.bumpalo]
version = "3.16"

[dependencies.encoding_rs]
version = "0.8.32"

[dependencies.image]
default-features = false
features = ["dds", "png"]
version = "0.25"

[dependencies.inventory]
version = "0.3.11"

[dependencies.lalrpop-util]
features = ["unicode"]
version = "0.22.0"

[dependencies.lazy_static]
version = "1"

[dependencies.murmur3]
version = "0.5.2"

[dependencies.once_cell]
version = "1.18.0"

[dependencies.phf]
features = ["macros"]
version = "0.11"

[dependencies.png]
version = "0.17.6"

[dependencies.rayon]
version = "1.7.0"

[dependencies.serde]
features = ["derive"]
version = "1.0.184"

[dependencies.serde_json]
version = "1.0.104"

[dependencies.strum]
features = ["phf"]
version = "0.26"

[dependencies.strum_macros]
version = "0.26"

[dependencies.thiserror]
version = "1"

[dependencies.unicode-width]
version = "0.2"

[dependencies.walkdir]
version = "2"

[features]
ck3 = []
default = ["ck3"]
imperator = []
vic3 = []

[lib]
name = "tiger_lib"
path = "src/lib.rs"

[lints.clippy]
blocks_in_conditions = "allow"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
decimal_literal_representation = "warn"
enum_glob_use = "allow"
float_cmp_const = "warn"
fn_to_numeric_cast_any = "warn"
format_push_string = "warn"
get_unwrap = "warn"
if_then_some_else_none = "warn"
impl_trait_in_params = "warn"
integer_division = "warn"
large_stack_arrays = "allow"
lossy_float_literal = "warn"
missing_errors_doc = "allow"
mixed_read_write_in_expression = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
mutex_atomic = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
rest_pat_in_fully_bound_structs = "warn"
similar_names = "allow"
string_add = "warn"
string_to_string = "warn"
struct_excessive_bools = "allow"
todo = "warn"
too_many_lines = "allow"
wildcard_imports = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
noop_method_call = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"

[lints.rust.future_incompatible]
level = "warn"
priority = -1

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "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."
edition = "2021"
homepage = "https://github.com/amtep/ck3-tiger"
license = "GPL-3.0-or-later"
name = "tiger-lib"
readme = "README.md"
repository = "https://github.com/amtep/ck3-tiger"
rust-version = "1.75"
version = "1.5.0"

[profile.bench]
debug = 2

[[test]]
name = "test"
path = "tests/test.rs"