[package] name = "eu4save" version = "0.8.2" authors = ["Nick Babcock "] edition = "2021" exclude = ["/assets/*", "/fuzz/*"] license = "MIT" readme = "README.md" repository = "https://github.com/rakaly/eu4save.git" description = "Ergonomically work with all EU4 saves (ironman and multiplayer)" keywords = ["eu4", "ironman"] categories = ["parsing"] [features] default = ["miniz"] miniz = ["miniz_oxide"] libdeflate = ["libdeflater/freestanding"] serialize = [] [dependencies] jomini = { version = "0.20", features = ["json"] } once_cell = "1" zip = { version = "0.6", default-features = false } serde = { version = "1", features = ["derive"] } thiserror = "1" libdeflater = { version = "0.11", optional = true } miniz_oxide = { version = "0.6", optional = true } [dev-dependencies] zip = { version = "0.6", default-features = false, features = ["deflate"] } attohttpc = "0.23" paste = "1" twoway = "0.2" # We override the test profile so that our tests run in a tolerable time as # some of the asset files are heavyweight and can take a significant amount of # time. Here is some timing data recorded to run one test: # # cargo test 0m15.037s # cargo test (opt-level=3) 0m9.644s # cargo test (+lto=thin) 0m0.907s # cargo test --release 0m0.620s [profile.test] opt-level = 3 lto = "thin"