-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
86 lines (76 loc) · 1.79 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[package]
authors = ["Mario Reder <[email protected]>"]
categories = ["wasm", "emulators"]
description = "A utility library for Super Mario Maker and Super Mario Maker 2 to read and manipulate game files."
edition = "2021"
license = "MIT"
name = "smmdb"
readme = "./README.md"
repository = "https://github.com/Tarnadas/smmdb-lib"
version = "2.0.0"
include = [
"/src/**/*.rs",
"/proto/**/*.proto",
"/build.rs",
"/Cargo.toml",
"/README.md",
"/LICENSE",
]
[build-dependencies]
protobuf-codegen-pure = "2"
[dependencies]
aes = "0.7"
arr_macro = { version = "0.2", optional = true }
arrayref = "0.3"
async-std = { version = "1", optional = true }
block-modes = "0.8"
byteorder = "1"
bytes = { version = "1", features = ["serde"] }
cfg-if = "1"
chrono = "0.4"
cmac = "0.6"
crc = "3"
hex = "0.4"
image = "0.24"
infer = "0.15"
itertools = "0.12"
protobuf = { version = "2", features = ["with-bytes", "with-serde"] }
rand = "0.8"
regex = "1"
serde = "1"
serde_derive = "1"
tar = "0.4"
thiserror = "1"
typenum = "1"
zip = { version = "0.6", default-features = false, features = ["deflate"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
brotli2 = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1"
getrandom = { version = "0.2", features = ["js"] }
js-sys = "0.3"
serde-wasm-bindgen = "0.6"
wasm-bindgen = "0.2"
[dev-dependencies]
anyhow = "1"
colored = "2"
fs_extra = "1"
rayon = "1"
wasm-bindgen-test = "0.3"
[features]
default = ["with-serde"]
with-serde = []
save = ["arr_macro", "async-std", "async-std/attributes"]
[lib]
crate-type = ["cdylib", "rlib"]
name = "smmdb"
path = "src/lib.rs"
[package.metadata.wasm-pack.profile.release]
wasm-opt = false
[profile]
[profile.dev]
opt-level = 1
[profile.release]
lto = true
codegen-units = 1
strip = "symbols"