forked from ArchLeaders/roead
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
54 lines (50 loc) · 1.84 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
[package]
name = "roead"
description = "Rust bindings for oead C++ library for common Nintendo formats"
version = "0.23.1"
authors = ["Caleb Smith <[email protected]>"]
license = "GPL-3.0-or-later"
readme = "README.md"
repository = "https://github.com/NiceneNerd/roead"
keywords = ["Nintendo", "aamp", "byml", "sarc", "yaz0"]
categories = ["game-development", "parsing"]
edition = "2021"
exclude = [
"/test",
"/lib/zlib-ng/infcover.dir",
"/lib/zlib-ng/makecrct.dir",
"/lib/zlib-ng/makefixed.dir",
"/lib/zlib-ng/maketrees.dir",
"/lib/zlib-ng/switchlevels.dir",
"/lib/zlib-ng/x64",
]
[dependencies]
almost = { version = "0.2", optional = true }
base64 = { version = "0.21", optional = true }
binrw = { version = "0.13", optional = true }
cxx = { version = "1.0", optional = true }
indexmap = { version = "2.1", optional = true }
join_str = "0.1.0"
lexical = { version = "6.1", optional = true, features = ["power-of-two"] }
once_cell = { version = "1.13", optional = true }
parking_lot = { version = "0.12", optional = true }
num-integer = { version = "0.1", optional = true }
num-traits = { version = "0.2", optional = true }
rustc-hash = "1.1.0"
ryml = { version = "0.3", optional = true, features = ["std"] }
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }
smartstring = "1"
thiserror = "1.0"
[build-dependencies]
cxx-build = { version = "1.0", optional = true }
[dev-dependencies]
jwalk = "0.8"
[features]
aamp = ["almost", "binrw", "indexmap", "num-traits", "once_cell", "parking_lot"]
byml = ["binrw", "almost", "num-traits"]
sarc = ["binrw", "num-integer", "serde", "serde_json", "once_cell", "indexmap"]
yaz0 = ["cxx", "cxx-build"]
yaml = ["ryml", "lexical", "base64"]
with-serde = ["serde", "smartstring/serde", "indexmap/serde"]
default = ["aamp", "byml", "sarc", "yaz0"]