[package]
name = "imperator-save"
version = "0.4.2"
authors = ["Nick Babcock <nbabcock19@hotmail.com>"]
edition = "2021"
exclude = ["/assets/*", "/fuzz/*"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/rakaly/imperator-save.git"
description = "Ergonomically work with Imperator Rome saves (debug and ironman)"
keywords = ["imperator", "ironman"]
categories = ["parsing"]
[features]
default = ["miniz"]
miniz = ["miniz_oxide"]
libdeflate = ["libdeflater/freestanding"]
serialize = []
[dependencies]
jomini = { version = "0.20", features = ["json"] }
zip = { version = "0.6", default-features = false }
serde = { version = "1", features = ["derive"] }
libdeflater = { version = "0.11", optional = true }
miniz_oxide = { version = "0.6", optional = true }
thiserror = "1"
[dev-dependencies]
attohttpc = "0.23"
zip = { version = "0.6", default-features = false, features = ["deflate"] }
[profile.test]
opt-level = 3
lto = "thin"
[profile.bench]
lto = true
codegen-units = 1
[profile.release]
lto = true
codegen-units = 1