-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
49 lines (45 loc) · 1.48 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
[package]
name = "eu4save"
version = "0.8.2"
authors = ["Nick Babcock <[email protected]>"]
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 = []
zstd = ["dep:zstd"]
serialize = []
tsify = ["dep:tsify", "dep:wasm-bindgen"]
specta = ["dep:specta"]
[dependencies]
jomini = { version = "0.27.2", features = ["json"] }
serde = { version = "1", features = ["derive"] }
thiserror = "1"
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.29", default-features = false, features = ["zlib-rs"] }
rawzip = "0.0.6"
[dev-dependencies]
attohttpc = "0.28"
paste = "1"
memchr = "2.7"
highway = "1.2"
insta = "1.42.1"
# 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"