-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
58 lines (50 loc) · 1.44 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
54
55
56
57
58
[package]
name = "wz_reader"
description = "A wz file reader to resolve wz file with thread safe"
readme = "README.md"
homepage = "https://github.com/spd789562/wz-reader-rs"
repository = "https://github.com/spd789562/wz-reader-rs"
documentation = "https://docs.rs/wz_reader"
categories = ["parsing"]
keywords = ["wz", "maplestory", "wzlib"]
version = "0.0.12"
edition = "2021"
license-file = "LICENSE.txt"
[dependencies]
aes = "0.8.4"
ecb = "0.1.2"
flate2 = { version = "1.0.28", features = ["zlib-ng"], default-features = false }
hashbrown = "0.14.3"
image = { version = "0.25.0", default-features = false }
memmap2 = "0.9.4"
rayon = { version = "1.9.0", optional = true }
scroll = "0.12.0"
thiserror = "1.0.57"
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }
[dev-dependencies]
serde_json = { version = "1.0" }
tempfile = "3"
criterion = "0.5"
axum = "0.7.5"
tokio = { version = "1.0", features = ["full"] }
[features]
default = ["rayon"]
json = ["serde", "dep:serde_json"]
serde = ["dep:serde", "hashbrown/serde"]
rayon = ["dep:rayon", "image/rayon"]
[[bench]]
name = "bench_main"
harness = false
[[example]]
name = "with_axum"
required-features = ["json", "image/default-formats"]
[[example]]
name = "wz_to_json"
required-features = ["json"]
[[example]]
name = "parse_single_img_file"
required-features = ["image/png"]
[[example]]
name = "extracting_pngs"
required-features = ["image/png"]