-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
53 lines (49 loc) · 1.74 KB
/
Cargo.toml
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
52
53
[package]
name = "eu4save"
version = "0.8.2"
authors = ["Nick Babcock <nbabcock19@hotmail.com>"]
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", "flate2/rust_backend"]
libdeflate = ["libdeflater/freestanding"]
zstd = ["dep:zstd"]
serialize = []
tsify = ["dep:tsify", "dep:wasm-bindgen"]
specta = ["dep:specta"]
[dependencies]
jomini = { version = "0.26.0", features = ["json"] }
once_cell = "1"
zip = { version = "0.6", default-features = false }
serde = { version = "1", features = ["derive"] }
thiserror = "1"
libdeflater = { version = "1.19", optional = true }
miniz_oxide = { version = "0.7", optional = true }
zstd = { version = "0.13", default-features = false, optional = true }
tsify = { version = "0.4.5", default-features = false, optional = true }
wasm-bindgen = { version = "0.2", default-features = false, optional = true }
specta = { version = "1.0.4", optional = true }
flate2 = { version = "1.0", default-features = false }
[dev-dependencies]
zip = { version = "0.6", default-features = false, features = ["deflate"] }
attohttpc = "0.28"
paste = "1"
memchr = "2.7"
# 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"