1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-26 14:17:45 +00:00
physis/Cargo.toml

71 lines
2.1 KiB
TOML
Raw Normal View History

2022-07-19 19:29:41 -04:00
[package]
name = "physis"
2024-04-15 21:35:29 -04:00
version = "0.3.0"
2022-07-19 19:29:41 -04:00
authors = ["Joshua Goins <josh@redstrate.com>"]
edition = "2021"
description = "Interact with XIV game data."
license = "GPL-3.0"
homepage = "https://xiv.zone/physis"
repository = "https://git.sr.ht/~redstrate/physis"
keywords = ["ffxiv", "modding"]
2022-09-13 16:55:50 -04:00
documentation = "https://docs.xiv.zone/docs/physis/"
readme = "README.md"
2022-07-19 19:29:41 -04:00
2023-09-24 16:19:08 -04:00
[profile.release]
lto = true
2022-07-19 19:29:41 -04:00
[[bench]]
name = "benchmark"
2022-07-19 19:29:41 -04:00
harness = false
[[bench]]
name = "retail_benchmark"
harness = false
required-features = ["retail_game_testing"]
2022-07-19 19:29:41 -04:00
[dev-dependencies]
hmac-sha512 = "1"
# used while rust doesn't have native benchmarking capability
brunch = { version = "0.5.3", default-features = false }
# used for testing our crc implementations
crc = "3"
2022-07-19 19:29:41 -04:00
[features]
default = ["visual_data"]
2023-12-02 20:33:08 -05:00
# enables game installation support using unshield (only supported on Linux and macOS)
game_install = []
2023-12-02 20:33:08 -05:00
# enables support for extracting visual data, such as models, textures, materials, etc.
# this enables a bunch of dependencies!
# tip: can be safely turned off for launchers and other tools that simply need to extract the bare minimum of data
visual_data = ["dep:half", "dep:bitflags", "dep:texture2ddecoder"]
# testing only features
retail_game_testing = []
patch_testing = ["game_install"]
2022-07-19 19:29:41 -04:00
[dependencies]
# amazing binary parsing/writing library
2023-12-02 19:45:46 -05:00
binrw = { version = "0.13.0", features = ["std"], default-features = false }
2023-12-02 19:45:46 -05:00
tracing = { version = "0.1.40", features = ["std"], default-features = false }
2023-04-06 14:51:40 -04:00
# used for zlib compression in sqpack files
libz-ng-sys = { version = "1.1" }
# nice to have features rust is lacking at the moment
2023-09-22 19:17:24 -04:00
modular-bitfield = "0.11"
2023-12-02 20:33:08 -05:00
# needed for half-float support which FFXIV uses in its model data
half = { version = "2", optional = true }
2022-08-11 09:23:15 -04:00
# needed for c-style bitflags used in some formats (such as tex files)
# cannot upgrade to 2.0.0, breaking changes that aren't recoverable: https://github.com/bitflags/bitflags/issues/314
bitflags = { version = "1.3", optional = true }
# needed for dxt/bc decompression
texture2ddecoder = { version = "0.0.5", optional = true }