The second compression method found in the game's code seems to be Zlib, but it doesn't seem to be used in the game files. What does get used is a compression type of `0`, which appears to be uncompressed data. For DDS formats, all the ones that are currently used by in the game files can be emitted as is. Though for some of them, other tools might not be able to display them.
83 lines
2.6 KiB
TOML
83 lines
2.6 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/dtmt",
|
|
"crates/dtmm",
|
|
"lib/dtmt-shared",
|
|
"lib/oodle",
|
|
"lib/sdk",
|
|
"lib/serde_sjson",
|
|
"lib/luajit2-sys",
|
|
"lib/color-eyre",
|
|
]
|
|
exclude = ["lib/color-eyre"]
|
|
|
|
[workspace.dependencies]
|
|
ansi-parser = "0.9.1"
|
|
ansi_term = "0.12.1"
|
|
async-recursion = "1.0.5"
|
|
bincode = "1.3.3"
|
|
bitflags = "2.5.0"
|
|
byteorder = "1.4.3"
|
|
clap = { version = "4.0.15", features = ["color", "derive", "std", "cargo", "string", "unicode"] }
|
|
cli-table = { version = "0.4.7", default-features = false, features = ["derive"] }
|
|
color-eyre = { path = "lib/color-eyre" }
|
|
colors-transform = "0.2.11"
|
|
confy = "0.6.1"
|
|
csv-async = { version = "1.2.4", features = ["tokio", "serde"] }
|
|
druid = { version = "0.8", features = ["im", "serde", "image", "png", "jpeg", "bmp", "webp", "svg"] }
|
|
druid-widget-nursery = "0.1"
|
|
dtmt-shared = { path = "lib/dtmt-shared" }
|
|
fastrand = "2.1.0"
|
|
flate2 = { version = "1.0.30", features = ["zlib"] }
|
|
futures = "0.3.25"
|
|
futures-util = "0.3.24"
|
|
glob = "0.3.0"
|
|
interprocess = "2.1.0"
|
|
lazy_static = "1.4.0"
|
|
luajit2-sys = { path = "lib/luajit2-sys" }
|
|
minijinja = { version = "2.0.1", default-features = false }
|
|
nanorand = "0.7.0"
|
|
nexusmods = { path = "lib/nexusmods" }
|
|
num-derive = "0.4.2"
|
|
num-traits = "0.2.19"
|
|
notify = "8.0.0"
|
|
oodle = { path = "lib/oodle" }
|
|
open = "5.0.1"
|
|
path-clean = "1.0.1"
|
|
path-slash = "0.2.1"
|
|
pin-project-lite = "0.2.9"
|
|
promptly = "0.3.1"
|
|
sdk = { path = "lib/sdk" }
|
|
serde = { version = "1.0.152", features = ["derive", "rc"] }
|
|
serde_sjson = { path = "lib/serde_sjson" }
|
|
steamlocate = "2.0.0-beta.2"
|
|
strip-ansi-escapes = "0.2.0"
|
|
strum = { version = "0.26.3", features = ["derive", "strum_macros"] }
|
|
time = { version = "0.3.20", features = ["serde", "serde-well-known", "local-offset", "formatting", "macros"] }
|
|
tokio = { version = "1.23.0", features = ["rt-multi-thread", "fs", "process", "macros", "tracing", "io-util", "io-std"] }
|
|
tokio-stream = { version = "0.1.12", features = ["fs", "io-util"] }
|
|
tracing = { version = "0.1.37", features = ["async-await"] }
|
|
tracing-error = "0.2.0"
|
|
tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
|
|
usvg = "0.25.0"
|
|
zip = { version = "2.1.3", default-features = false, features = ["deflate", "bzip2", "zstd", "time"] }
|
|
|
|
[profile.dev.package.backtrace]
|
|
opt-level = 3
|
|
|
|
[profile.release]
|
|
strip = "debuginfo"
|
|
|
|
# The MSVC toolchain cannot handle LTO properly. Some symbol related to
|
|
# panic unwind would always be missing.
|
|
# So we use a separate profile for when we can compile with LTO.
|
|
[profile.release-lto]
|
|
inherits = "release"
|
|
lto = true
|
|
|
|
[profile.perf]
|
|
inherits = "release"
|
|
strip = false
|
|
lto = true
|
|
debug = "line-tables-only"
|